To add a new namespace and variable, click on Add in the top right corner. To add a variable in to a namespace, click Add variable in the namespace list.

Add variable

OptionDescription
NamespaceSet the name of the namespace. If you clicked to add a variable to a namespace, this will be filled in with that namespace automatically.
IDVariable name – alphanumeric and underscore. Same as the const/let/var-definition that is used in the macro source code.
TypeChoose your type of variable:

Text – A string of characters, such as words, sentences, or any alphanumeric input. E.g. "Hello World".
Choices – A predefined list of selectable values used in dropdowns. E.g. "Red", "Blue", "Green".
Integer – A whole number without decimals. E.g. 42, -10, 0.
Number – A numeric value that can include decimals or floating points E.g. 3.14, 100.5, -0.01.
True / False – A boolean value representing only two states: True or False. E.g. is_active = True.
JSON – A structured data format using key-value pairs, often used for storing and exchanging data. E.g. {"name": "Alice", "age": 30}.
Name/descriptionFriendly name in Mividas Rooms

Text

OptionDescription
InformationDescription/comment about the field
Default valueSet the default value for this variable.
Minimum lengthSet the minimum length for this variable
Maximum lengthSet the maximum length for this variable.

Choises

OptionDescription
InformationDescription/comment about the field
Default valueSelect the default value from the options below.
Add Add an alternative. This will open a new field where you set the Value and Label for that alternative.

Integer

OptionDescription
InformationDescription/comment about the field
Default valueSet the default value for this variable.
Minimum lengthSet the minimum value for this variable
Maximum lengthSet the maximum value for this variable.

Number

OptionDescription
InformationDescription/comment about the field
Default valueSet the default value for this variable.
Minimum lengthSet the minimum value for this variable
Maximum lengthSet the maximum value for this variable.

True / False

OptionDescription
InformationDescription/comment about the field
Default valueDefault value of field (true/false)

JSON

A

OptionDescription
InformationDescription/comment about the field
Default valueEnter the default value.

Click Save to create your variable or Cancel to cancel.

On This Page
    © Mividas Video Solutions AB 2025