presentation-set-layout-by-id
Set layout for Sitecore content items by specifying item ID and layout ID. Configure shared or final layouts and language-specific presentations to manage content presentation.
Instructions
Sets layout for an item specified by Id.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | The Id of the item to set the layout for. | |
| layoutPath | No | The path of the layout. | master: |
| layoutId | Yes | The ID of the layout to set for the item. | |
| language | No | The language of the item to set layout for. | |
| finalLayout | No | Specifies layout to be updated. If 'true', the final layout is set, otherwise - shared layout. |