I built a setup in our previous Tridion 2011 installation which uses a Dynamic Component Presentation to render a container, and dynamic collection of dynamic article tiles in the following manner.
- A dynamic Component: container, and collection of article Component Links (also dynamic)
Dynamic Component Template (Razor TBB): Renders the above Component's container and child Component Links using
@RenderComponentPresentationwith the below.
Dynamic Components: articles in above collection
- Dynamic Component Template (Razor TBB): Article Tile
In 2011 this worked fine, it writes out a tile container, then each tile is rendered within in based on a Component Link and a type.
Having moved to Web 8.5 - I'm seeing something I don't understand. The first Razor DCP renders as it should, but instead of the tile HTML for the child articles in the collection - I get this:
<tridion:componentpresentation pageuri="tcm:x-y-z" componenturi="tcm:x-y" templateuri="tcm:x-y-z"></tridion:componentpresentation>
Does anyone have any idea why this would happen or how to fix it if possible? I've done some reading about moving to REL and JSP as the Template Type but it doesn't seem to have any effect.