presentation-add-placeholder-setting
Add a placeholder setting to a Sitecore item by ID or path, specifying key, layout, language, and placeholder setting ID or path for presentation configuration.
Instructions
Adds a placeholder setting to an item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The ID of the item to add the placeholder setting to. Supply this or path. | |
| key | Yes | The key of the placeholder setting to add. | |
| path | No | The path of the item to add the placeholder setting to. Supply this or id. | |
| database | No | The context database. Sent when addressing the item or the placeholder setting by ID -- a path carries its own database prefix (e.g. master:/sitecore/content/Home). | master |
| language | No | The language version of the item to add the placeholder setting to. | |
| finalLayout | No | Specifies layout to add the rendering placeholder setting to. If 'true', the final layout is used, otherwise - shared layout. | |
| placeholderSettingId | No | The ID of the placeholder setting to add. Supply this or placeholderSettingPath. | |
| placeholderSettingPath | No | The path of the placeholder setting to add. Supply this or placeholderSettingId. |