Every visual element you put into your app’s screens is assigned a system name composed of the screen name, element type and a number (ranging from 1 to n). For example, the first text input on a screen s1 is named s1_i1. If you add another text input to that screen, it would be s1_i2…
Similarly, text outputs (text labels) would be named s1_o1, s1_o2, s1_o3 (when on screen s2, they would be s2_o1, s2_o2, s2_o3, etc.).
Using the above element names you can set values of specific elements in your app – either using system actions, value transfers or values returing from a backend service response.
Reading values of screen elements can be done by enclosing the specific element name this way:
${s1_i1}
If you do not close the element name using the brackets (e.g. s1_i1), you would only get the string ‘s1_i1’.
You can also combine several variables in one string expression to get e.g. today’s date and time combined together, or a user name and last name.
The following examples show the correct syntax of reading element values and system variables:
Text input value: ${s1_i1}
Checkbox value: ${s1_ch1}
Selected table row’s column COL1 value: ${s1_t1[COL1]}
Table row count: ${s1_t1[]}
System date in US format: ${SYS_DATE_US}
Date and time combines: ${SYS_DATE_US} ${SYS_TIME_LOCAL}
User profile name and last name: ${SYS_USER_NAME_FIRST} ${SYS_USER_NAME_LAST}