Attribute

AttributeIcon Description

Nodes of this type are used inside Attributes controls. They can be used to place an attribute in the web form.  

Runtime appearance

The runtime appearance of this control depends on the Theme property, the properties inside appearance category, and attribute's type. 

VariableEditableRT VariableNoEditableRT
Editable attribute Read only attribute

Properties

Category Name Value
General Attribute Contains the attribute this node is based on.
Description Description text to be set to the attribute.
Descriptive Image This property may contain a reference to an image used to describe the attribute's contents. Note: Only available in SD Panels.
Form Description Layout Defines the position of the description relative to the control. The default value for this property is loaded from the "Descriptions Layout" property in this node's parent. Note: Only available in SD Panels.
Visible When set to false, the attribute will be hidden inside the web form.
No Skip When set to true, the attribute will be shown in the same line as the last one. See Using the "NoSkip" property
Invite Message Contains the string that will be used as an invite message. Only available when using Responsive Web Design.
Tooltip Tooltip to be used when generating the attribute control. Note: Only available in Web Panels.
Left Text Contains a text that will be placed before the attribute, after the description.
Right Text Contains a text that will be placed after the attribute.
Contextual Help Value

A text that will appear alongside the variable to provide help for the user. Character values must be placed between quotes. This property's value must contain an expression. This allows the developer to concatenate attributes values ("Please insert value for " + &ProductDescription)

Example:

VariableContextHelpRT

Note: Only available in Web Panels.

Format

Format of the attribute value. 

  • Text
  • Html
  • RawHtml
  • TextWithMeaningfulSpaces

The format property allows you to render html code placed inside an attribute.

Note: Only available in Web Panels.

Alternate Text

The alternate text that will be associated with the attribute (Only available in "Image" attributes).

Note: Only available in Web Panels.

Horizontal Alignment Sets the value for the Horizontal Alignment property (in GX) for the attribute. Note: Only available in Web Panels.
Autolink

Indicates if an autolink should be included in this attribute or not. Autolinks are only generated when the attribute is read only.
Notes:

  • Only available in K2BTools' Patterns.
  • If the property is set to "True", the autolink will be generated only if the Attribute (or a supertype of it) is the DA for a transaction.

Behaviour

(Available only in Web Panels)

Return On Click Used when the web panel being built is a prompt implementation. Indicates that after the action's code the prompt should return to its caller.
Required Indicates if this attribute is required or not. This property is present only in K2BTrnForm.
Required Message Contains the error message that will be shown when the user has not entered a value for the attribute (and the attribute is required). This property is present only in K2BTrnForm.
Required Rule Only For Web Indicates if the error rule generated when the attribute is required will be placed inside a web context. In common scenarios, this is used mainly to determine if the rule will be included in the Business Component of not.
Appearance Class Attribute control theme class.
Description Class Description's theme class. Note: Only available in Web Panels.
Left Text Class Available only if left text is not empty. Left Text's theme class. Note: Only available in Web Panels.
Right Text Class Available only if right text is not empty. Right Text's theme class. Note: Only available in Web Panels.
Autoresize Indicates if the attribute's control should be resized automatically or not. Note: Only available in Web Panels.
Width If autoresize is set to false It allows to place attribute width. Note: Only available in Web Panels.
Height If autoresize is set to false It allows to place attribute height. Note: Only available in Web Panels.
Invisible Mode Contains the value for the Invisible Mode property in the control. Note: Only available in SD Panels.

Child nodes

ControlInfoIcon ControlInfo