Context Object
Last updated
Last updated
Using Context Objects allows to set dynamic context on the Form. Merge Fields from Context Objects can be used everywhere on the Form: as Default Value, Title, Condition and any other input on the Form Item.
Expend "Context" panel (1):
Context Objects (2)- objects that have sense in current form context
Context Field (3)- fields of selected context object
Merge Fields (4)- resulting code of field to be used
Select the Context Object, select required field, copy the Merge Field value to use it in any place in the form:
Allows to use merge fields from the form Source Object.
You can also use related object fields but before using you should add them. See more details at Additional Fields.
Note! The form Source Object context object is a static type and even you change the field value on the form, the old values will be used. To use dynamically changed values use $Form context object. Keep in mind that such option is available only when it is an option at the current menu.
Allows to use System data such as:
Note! The User context object is a static type and will be replaced on form load.
Allows to get parameters passed to the form.
The Form Parameters context object is case sensitive.
Allows to use defined Variables.
Variables can be Static and Dynamic depend on usage context.
Whenever you see in the constructor definition {$Variables.varName} - it uses Static type.
When you see {$Form.$Variables.varName} - it uses Dynamic type.
Note! {$Form.$Variables.varName} can be used only when it is an option at current constructor menu.
The Parameters context object available on the form Actions. See more detail at Actions and Events.
Allows to use output variables returned by KanBan Action/KanBan Action Group action type.
Row context object is specific to List and Related List form components. It allows to pass list row value(s) to form action as a parameters. Row context object is available in onChange, onSelect list events, along with the onClick event added to the standard list buttons (New, Edit, Delete, View).