specs/models/M_APP_VER_VAR

Variable

Widgets and triggers utilize variables of specific types to determine user interaction and application flow. There are three categories of variables in apps:

  1. Primitive - a single value such as integer, text, or user
  2. Custom object - a variable with named attributes, each of which is a primitive
  3. Array - an ordered list in which every item is of the same type. The type can be either a primitive or a custom object.

The primitive variable types in apps:

Variable TypeDescription
Booleana true or false value
Colora value that encodes the standard RGBA standard used in webapps
Numbera numeric value that can have a decimal value
Image URLA string that represents the web address of an image file
IntegerA numeric value that cannot have decimal values.
IntervalA duration in time saved in milliseconds.
TextA string value.
UserA user in the Tulip system. The user model includes custom fields (see 09 People Management)
Datetimek specific date, time and timezone.

Furthermore, each variable type can also be saved as an array of that type, for example 'Boolean array' or 'Color array'.

Tests

IDName
QA-T56Variable Widget : 01 - Simple variables in canvas can be changed to compound variables
QA-T57Variable Widget : 02 - Record View: Compound variables can be used with triggers
QA-T157Widgets - Boolean Input Widget