The app state variables - are special variables that you can use in your UI Bakery project. They could be used in action steps and other places where you can link data to UI elements.
You can manage variables in the special pop up. To open it go to the tab Data and click on the button “App State Variables” at the top left corner:
To add a new variable click the button “Add new”:
For each variable you need to set 3 parameters:
Name of the variable. Make sure that every name is unique so that you always select proper variable.
There are following types of variables:
In the field “Initial value“ you can enter the default value of the variable. If you won’t enter anything it would be ““, 0, False or NULL depending on the type of variable.
When everything is done save you changes with the button Save:
Maybe you’ve noticed additional field: “Variable overview“. In this field you can see the current value of the selected variable. If you just created the variable it will be equal to the field “Initial value“. If you
You will see the changed value of the variable
You can’t edit this field.
If you need to create a slightly different version of an already existing variable worry not! We have a duplicate function. Just select a variable that you want to duplicate and click on the “Duplicate“ icon:
And if you want to delete a variable that you no longer need, just click on the “Delete icon“:
You can use variables in the fields that are marked with a special icon:
Click on the icon and you will see all available variables:
There are two types of variables:
Didn't find something here? Simply drop us a line at firstname.lastname@example.org