Dynamic Component Presentations
Components are combined with Component Templates during publishing to produce Component Presentations. A Component Presentation is a publishable piece of content. You can add static Component Presentations to a Web page manually in the Content Manager, or dynamically at runtime. This section describes how to create Dynamic Component Presentations.
Add Component Presentations to a web page dynamically in one of the following ways:
- Dynamic Component Templates
- The published webpage contains code to retrieve the Component Presentation at request time.
- Content Service API
- Use the Content Service API to develop and run a query. Refer to the sample GraphQL queries to learn more.
- URL Query Parameters
- Pass the piece of content as a query parameter to the webpage.
- Raw XML
- You can publish raw XML and transform it at request time using XSLT.
- Dynamic Content API
- Use the Dynamic Content API to write low-level code that organizes your website as a dynamic web application rather than adding content to the webpage through inclusion or querying.