SaveLayoutOptionsinterface
Options for saving a Layout.
Properties (10)
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| accessInfo⚓︎ | SaveLayoutAccessInfo | x | x | Access information for the Layout. Available only when Layout sharing is enabled. |
| context⚓︎ | unknown | x | x | Context to be saved with the Layout. |
| id⚓︎ | string | x | x | ID of an existing Layout to overwrite. If not specified and Layout sharing is disabled, a Layout with the same name and type will be overwritten if it exists, or a new Layout will be created. If not specified and Layout sharing is enabled, a new Layout will be created (unless you already have a private Layout with the same name and type, in which case the operation will fail), so you must specify the ID to overwrite an existing Layout. |
| ignoreContexts⚓︎ | boolean | x | x | If |
| ignoreInstances⚓︎ | string[] | x | x | Only if the Layout type is |
| instances⚓︎ | string[] | x | x | Only if the Layout type is |
| metadata⚓︎ | object | x | x | Metadata to be saved with the Layout. |
| name⚓︎ | string | x | Name for the Layout. |
|
| setAsCurrent⚓︎ | boolean | x | x | If |
| type⚓︎ | LayoutType | "Global" | x | Type of the Layout. The supported types for this operation are |