Skip to content

script.variableSet

Sets or creates a variable in the Model.

js
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");