Attributes (Dynamic Layout Definition)

AttributesIcon Description

This node defines an attributes region in a Dynamic Layout’s metadata. When an attributes node is included a table will be added to the object’s form, initially in the “Unused Items” section.

Usage

The developer may move or copy the table included in the “Unused Items” section to the “User Region”, where it will be taken into account when generating panels based on the layout.

When using the SD generator, the “User Region” may include more than one copy of this table. To do this, simply add an “Table” control from the Toolbar and select the corresponding “Control Name” (which should be set to “ActionsTable_{Name}”).

When using the dynamic layout all occurrences of the table will be updated, adding the appropriate contents according to the attributes node contents. Only the “Control Name” property will be updated on the table itself. All other properties will remain as defined in the layout object, so the developer can choose any value for them.

The image below shows how these transformations are done:

DynamicLayoutAttributesUsage
Attributes usage example

Properties

Category Name Value
General Name (Id) Identifier for this Attributes region. Must be unique inside the layout’s metadata.
Grid Use In Grid Navigation Included only when the layout corresponds to a Grid (see Dynamic Layout Root Node). Indicates if variables included in this region in panels should be considered a part of the grid when calculating its navigation. Generally, regions with this property set to “True” should be included in the grid’s contents, while regions with this property set to “False” will be placed outside the grid.
Default Descriptions Layout Sets the default value for the “Descriptions Layout” property in the Attributes node node in the final panels based on this layout.
Default Attribute Class Sets the default value for the “Class” property in Attribute nodes belonging to the corresponding Attributes node node in the final panels based on this layout.
Default Attribute Readonly

Sets the default value for the “Readonly ” property in Attribute nodes belonging to the corresponding Attributes node node in the final panels based on this layout.

Default Attribute Enabled (SD platform only) Sets the default value for the “Enabled ” property in Attribute nodes belonging to the corresponding Attributes node node in the final panels based on this layout.