Try our conversational search powered by Generative AI!

ContentArea as Dynamic property or other solution

Vote:
 

Tried using a ContentArea as a dynamic property but it does not seems to work, the ui does not seem to support it.

Is there any solution to this problem:

I have a sidebar that is an ContentArea and I would like it to be set on a parent page and the look the same on all its children.

Saw this article but is it possible for an contentarea?

http://world.episerver.com/Blogs/Anders-Hattestad/Dates/2013/8/Using-Page-Properties-as-dynamic-properties-in-EPiServer-7/

#79297
Dec 12, 2013 15:32
Vote:
 

You could have a dynamic pagereference property indicating from wich pagelink your sidebar contentarea should fetch its data from.

#79300
Dec 12, 2013 16:48
Vote:
 

Like in Anders article or is there a simpler way?

#79318
Dec 13, 2013 10:36
Vote:
 

If you are using forms you can use <EPiServer:Property PropertyName="YourContentArea" />. Then you set the PageLink from the dynamic property pagereference property. 

If you check out the Alloy forms demo templates EPiServer does almost this for the site logo. But instead they specify the startpage as the PageLink.

/Per

#79322
Dec 13, 2013 10:48
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.