Welcome, Guest Login

Support Center

Creating a Variable

Last Updated: Apr 06, 2017 09:46AM EDT
Variable


You can create variable and use these variable in Actions, Layout, Javascript, HTML etc..

To create a variable value use the Action Editor and select "Set a Variable".
Action Editor can be accessed on the Events tab of any Block.




Choose an intuitive name for your Variable and a value for that Variable. Here is a simple example



 
Once your variable is defined you give it a value:





Once a variable has been defined it is available in the Editor under the 'Variable' section



Once you click on the Variable name you'll see it in this format: [[var:MyVariable]].
This will allow that value to be accessed through your app and be used as whatever value is assigned to it at the current time.


Learn More
- Using Variable
- Formatters & Functions

 

Help us improve! Rate this article:

Yes I found this article helpful

Ask a Question   

support@eachscape.com
http://assets0.desk.com/
false
eachscape
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete