There is a Home Page in CMS in which I inserted two different Component Presentations.
For one Component presentation the Property: Component Presentations based on this Component Template will be
is set to Publish as a Dynamic Component
. TemplateID: tcm:200-78003-32
And, for the other CP, this property is set to Publish Embeded on a Page
However, when Previewing the page Or when ran in Template Builder, the Source seems confusing.
<!-- HTML HERE... --><br/>
<tcdl:ComponentPresentation type="Embedded" componentURI="tcm:200-154146"
templateURI="tcm:200-78003-32"
xmlns:tcdl="http://www.tridion.com/ContentDelivery/5.3/TCDL"><br/>
<!-- HTML HERE... --><br/>
<tcdl:ComponentPresentation type="Embedded" componentURI="tcm:218-12172"
templateURI="tcm:218-11777-32"
xmlns:tcdl="http://www.tridion.com/ContentDelivery/5.3/TCDL"><br/>
Please note that I removed the CleanUp Template, so to see the TCDL tags.
Why the type=Embeded
is there for Dynamic CP ( First TCDL Tag above ) ? Isn't it should be type="Dynamic"
? Under what conditions will the type be dynamic ?
Is there any thing I need to Edit in the DCP so that the correct type="Dynamic"
is there in the TCDL Tag above ?
I was expecting that DCPs will be retrieved at runtime on Pages at server side using the ComponentPresentationAssembler
. Seems like here the HTML generated by the DCP is not retrived at runtime but is just sticking to the page itself like the Embedded CPs.
[ SDL TRIDION 2011 SP1 ]