SDTVariable

SDTIcon Description

Nodes of this type are used inside Attributes node control. It can be used to place a variable in the web form. The simplest way to use these nodes is via the "Add SDT" action.

Runtime appearance

The runtime appearance of this control depends on the Theme property, the properties inside appearance category, the variable's type, and if it´s enabled or disabled.

VariableEditableRT VariableNoEditableRT
Enabled variable Disabled variable

Properties

Category Name Value
General Field Contains the name of the field used in this node. The name is relative to the SDT Level inferred from the node's parent structure.
Description Description text to be set to the attribute.
Control Name

Name of the corresponding form control.

The property was introduced as of K2BTools 15.

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 variable will be shown in the same line as the last one. See NoSkip property.

Important: This property existed until K2BTools 13.2. In K2BTools 14.0 it was replaced by the "Element Relative Position" property.

Element Relative Position

Allows to configure the position of the element relative to the previous element. The possible values are:

  • New row
  • Same cell
  • New cell

For more information read Element Relative Position property

Readonly If set to "False", user edition of the variable will be allowed.
Invite Message Contains the string that will be used as an invite message. In Web Panels, only available when using Responsive Web Design.
Tooltip Tooltip to be used when generating the SDT Variable control. Note: Only available in Web Panels.
Left Text Text placed before the attribute, after the description. Note: Only available in Web Panels.
Right Text Text placed after the attribute. Note: Only available in Web Panels.
Contextual Help Value

A text that will appear bellow variable to show help to the user. String value must be put between quotes. It can contain an expression ex: allows to concatenate attributes values ("Please insert value of " + &ProductDescription )

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 image (only visible if the associated field is an image). Note: Only available in Web Panels.

Behaviour

(Only Available in Web Panels)

Required

Set to true an * will appear at the description indicating variable must hava a value.

VariableRequiredRT

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.

Appearance Class Theme class used when generating the SDT Variable.
Description Theme Description's theme class. Note: Only available in Web Panels.
Left Text Theme Avaiable only if left text is not empty. Left Text's theme class. Note: Only available in Web Panels.
Right Text Theme 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