Try our conversational search powered by Generative AI!

Inherit contentarea in Composer

Vote:
 

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
Vote:
 

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.