Skip to main content

variable

Last updated 31/01/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

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 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 in an If conditional field.

Examples

variable