variable
Last updated 29/04/2024
Five can hold global data for your application on a
variable
property on the Five
object. The variable
property
allows values set as name value pairs through the use of the setVariable()
function
using Five’s API. The values can be accessed through code, or as properties on the variable
property itself.
For example, accessing the value through the use of code can be done using the getVariable() function
on the
Five
object - five.getVariable(<variableName>)
, or you can use the variable
property five.variable.<variableName>
,
which is useful as parameters to a query, or as mail merge template values, or in an If conditional field.