APIs for low-level Component Presentation retrieval
To write code that assembles Dynamic Component Presentations, the Content Delivery APIs for querying content offer a collection of classes to assemble content from code.
- For .NET, the Tridion.ContentDelivery.DynamicContent namespace offers classes for assembling content dynamically
- For Java/JSP, the com.tridion.dynamiccontent package offers classes for assembling content dynamically
These classes let you do the following things:
- use the
ComponentPresentationFactoryclass (located incom.tridion.dcpin the JSP API) to retrieve one or more Dynamic Component Presentations from the Content Data Store and insert 'as is' into your Web page. Any code in the rendered Component Presentations is left unexecuted. - use the
ComponentPresentationAssemblerclass to assemble Dynamic Component Presentations, run any code contained in it, and insert the result into the Web page.