Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Dynamic content implementation not working:

After reading some documentation on how to implement dynamic content display.
I have implemented a test as simple as I could so here is the class:

After doing that I have registered the dynamic content on the config file.

So then on the html editor "edit mode" I have added my property to the page and published it. Now when I load the page I get to see the same I see in the xhtml editor.

"DinamicContent : DynamicTest wrapped on curly brackets."

Any suggestions??? I'm probably missing something trivial.

Thanks in advance.


Jun 04, 2009 15:00
Are you using the XhtmlString Property. You can add a dynamic property with the PropertyLongString, but it want render.
Jun 04, 2009 15:07

Thanks for the quick response Anders, yes it is a XHTML string (>255).

It is the main content area.

Jun 04, 2009 15:22
The site is an EPiServer CMS 5.2.375.7 implementation.
Jun 04, 2009 16:36
Are you using the episerver property control when rendering your content? CurrentPage["MainBody"] won't parse the dynamic content span tag.
Jun 04, 2009 16:46

 The page type is called "[Public] Standard Container" and is implemented this way:

 Do I need an EPiServer:Property here? I'm fairly new to epi server.

Thanks Peter.

Edited, Jun 04, 2009 17:24
You were right Peter, I had a direct access to the code behind property #MainBody and now substituting it for the EPiServer:Property PropertyName="MainBody" runat="server" finally outputs the expected!! (Hello from About 'Page Name'!)
Thanks for your help guys!!

Otavio Soccol

Jun 04, 2009 17:42
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.