presentation-set-rendering-by-id
Update Sitecore presentation renderings by ID to modify placeholder, data source, parameters, or layout position for content management.
Instructions
Updates rendering specified by item ID with new values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | The ID of the item holding the rendering. | |
| uniqueId | Yes | The unique ID of the rendering. | |
| database | No | The context database. | master |
| placeholder | No | New rendering placeholder value if specified. | |
| dataSource | No | New rendering data source if specified. | |
| finalLayout | No | Specifies the layout to update the rendering. If 'true', the final layout is used, otherwise - shared layout. | |
| language | No | The language version of the item holding the rendering. | |
| index | No | New index of the rendering in the layout. | |
| parameter | No | New rendering parameters if specified. |