presentation-set-rendering
Updates a rendering on a Sitecore item by unique ID, changing its data source, parameters, placeholder, or layout position.
Instructions
Updates a rendering placed on an item with new values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The ID of the item holding the rendering. Supply this or path. | |
| path | No | The path of the item holding the rendering. Supply this or id. | |
| index | No | New index of the rendering in the layout. | |
| database | No | The context database. Only sent when addressing by id -- a path carries its own database prefix (e.g. master:/sitecore/content/Home). | master |
| language | No | The language version of the item holding the rendering. | |
| uniqueId | Yes | The unique ID of the rendering. | |
| parameter | No | New rendering parameters if specified. | |
| dataSource | No | New rendering data source if specified. | |
| finalLayout | No | Target the final layout (default true), where list-renderings' uniqueIds live. False = shared only. | |
| placeholder | No | New rendering placeholder value if specified. |