script.variableSet
Sets or creates a variable in the Model.
js
script.variableSet(key, value)
script.variableSet(key, value)
Parameters
key
- An identifier for the variable.value
- The value to set the variable to.
Example
js
script.variableSet("Current Month", "2014 - Jan");
script.variableSet("Current Month", "2014 - Jan");