Attributes

AttributesIcon Description

Nodes of this type can be used in panels created with K2BTools to include sections displaying variables and/or attributes.

The main scenarios for using Attributes nodes are the following:

  • Viewing the result of an operation.
  • Having a view of a transaction different from the transaction's display mode.
  • Viewing the result of a query
  • Inserting, Updating or Deleting a record using the business component.
  • Selecting parameters to call a procedure or report.

It is important to distinguish between this type of node and the Grid (WPD) type. The difference lies in the fact that Attributes nodes display only one instance of the variables or attributes displayed, whereas grids show multiple instances of them.

Frequently the structure of an Attributes node is similar to the structure of a transaction. To simplify the process of creating Attributes nodes like this, the "Add Attributes From Transaction" was created.

Runtime appearance

There is no visual characteristics inherent to the Attributes node. Its appearance in runtime depends entirely on the appearance of its children. A lot of flexibility is provided when working with Attributes nodes, as they accept many types of nodes as children. For more information in this aspect, see the section "Child nodes".

Properties

Category Name Value
General Name (Id) An identifier for this section. This name can be used to reference the section in the Events part.
Title The string to place as this section's title.
Layout Slot Name

Contains the name of the Attributes (Dynamic Layout Definition) node in the dynamic layout object referenced by this node.

This property is available only when this node's parent is a LayoutContent node.

Descriptions Layout Determines where to place the variable's and attribute's descriptions on the screen, relative to them.
Align Determines the alignment of the table in which the attributes and variables are placed. Note: Only available in Web Panels.
Responsive Sizes Determines the layout of the items contained in this control according to the screen size of the device used in runtime. For more information, see Introduction to Responsive Web Design and Responsive Sizes Properties.
SDT Based On SDT Determines the SDT that is used in this attributes node (if any). See Add SDT Action for more information.
Based On SDT Level Contains the name of the SDT level that applies to this attributes node (if any).

Child nodes

ColumnsIcon Columns   VariableIcon Variable   AttributeIcon Attribute  
GroupIcon Group   TabsIcon Tabs   LineSeparatorIcon LineSeparator  
ActionIcon Action   ComboActionIcon Combo   TextblockIcon Textblock  
WebComponentIcon WebComponent