volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Inherit contentarea in Composer

To minimize the administration task for our customer we want to base the content of a particular extensionarea on inheritance. It's not a problem to find the contents, for the page above:

var epd = ExtensionPageData.Load(CurrentPage.ParentLink);

var rightContentArea = epd.GetContentAreaById("Right");

if (rightContentArea != null && rightContentArea.ContentFunctions != null && rightContentArea.ContentFunctions.Count > 0)
{
foreach (var a in rightContentArea.ContentFunctions)
{
// then what
}
}

But what do I do next, to render these contentfunctions?

#31228
Jul 10, 2009 11:24

I found this useful blogentry by Marek Blotny.

 http://marekblotny.blogspot.com/2009/06/episerver-composer-how-to-load-content.html 

 

Thank you :-)

#31238
Jul 13, 2009 8:23
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.