presentation-add-rendering-by-id
Add a rendering component to a Sitecore content item's presentation layer by specifying the item ID, rendering ID, and placeholder. Configure layout type, data source, language, and insertion position.
Instructions
Adds a rendering to presentation of an item specified by item ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | The ID of the item to add the rendering to. | |
| renderingId | Yes | The ID of the rendering to add. | |
| database | No | The context database. | master |
| placeHolder | Yes | The placeholder to add the rendering to. | |
| dataSource | No | The rendering data source. | |
| finalLayout | No | Specifies layout to add the rendering to. If 'true', the final layout is used, otherwise - shared layout. | |
| language | No | The language version of the item to add the rendering to. | |
| index | No | The index at which the Rendering should be inserted. |