Element.updateSavedLayout (Method)
Updates the specified layout.
Returns:
Void
Arguments:
Name | Type | Required | Description |
---|---|---|---|
layoutID | ID | Required | The ID of the layout. |
name | PlainText_NonNull_255 | Required | The name of the saved layout. |
description | PlainText_2000 | Optional. Defaults to an empty string. | The description for the saved layout. |
includeStyle | Boolean | Optional. Defaults to '1'. | A boolean flag which when set to true indicates that this saved layout includes Style properties. |
includeLayoutFont | Boolean | Optional. Defaults to '0'. | A boolean flag which when set to true indicates that this saved layout includes LAyout and/or Font & Color properties. |
includeMetadata | Boolean | Optional. Defaults to '0'. | A boolean flag which when set to true indicates that this saved layout includes Custom metadata properties. |
previewImageID | ImageID_0 | Optional. Defaults to '0'. | The ID of the image to use as the preview for the layout. 0 for no image. |
Context:
License Requirements | (none) |
Permission Requirements | site:ManageElements |
Deny Context | None |
Require Context | AuthoringEnabled |
Author Lock | (not required) |
Transaction Logging | If transaction logging is enabled at the site level, calls to this method will be logged |
Customization | This method may be customized at the site level |
Error Codes:
None
Notes:
None