presentation-set-layout
Set an item's shared or final layout in Sitecore by item ID or path, using a layout ID or path.
Instructions
Sets layout for an item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The ID of the item to set the layout for. Supply this or path. | |
| path | No | The path of the item to set the layout for. Supply this or id. | |
| database | No | The database the layout is read from. Only used with layoutId; layoutPath carries its own prefix (e.g. master:/sitecore/layout/...). | master |
| language | No | The language of the item to set layout for. | |
| layoutId | No | The ID of the layout to set for the item. Supply this or layoutPath. | |
| layoutPath | No | The path of the layout to set for the item. Supply this or layoutId. | |
| finalLayout | No | Specifies layout to be updated. If 'true', the final layout is set, otherwise - shared layout. |