presentation-get-layout-device
Get a layout device by name, or return the default device if no name is given; headless sites typically only have the Default device.
Instructions
Gets a layout device by name, or the default device when name is omitted. On a headless site there is usually only the Default device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Return the unprojected .NET object graph. Very large (100,000+ chars/item); diagnostics only. | |
| name | No | Name of the device to return, e.g. 'Default'. Omit for the default device. | |
| fields | No | Extra Sitecore field names to include, e.g. ['Title']. Ignored when full is true. |