Skip to main content Skip to complementary content

Create a variable

Create a variable by using the CreateVariableEx method.

You can create a transient variable by using the CreateSessionVariable method.

Create a script-defined variable using the SetScript method. By default, the type of a script-defined variable is variable.

Information noteIn a published app, only transient variables can be created.

Examples

Example 1:  

Example 2:  

Example 3:  

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!