presentation-switch-rendering-by-unique-id
Switch an existing rendering with an alternate one on a Sitecore item by specifying the rendering's unique ID and the new rendering ID.
Instructions
Switches an existing rendering specified by unique ID with an alternate one for the item specified by item ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | The ID of the item holding the rendering. | |
| uniqueId | Yes | The unique ID of the rendering to switch. | |
| newRenderingId | Yes | The ID of the new rendering. | |
| database | No | The context database. | master |
| 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 renderings. |