DIQ_Variable
Overview
The
It contains the metadata required to define a variable, including its
Variables may store different types of values, including numbers, booleans, and lists. When the variable type is a
The host application is responsible for persisting
Properties
| Property | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Unique identifier for the variable |
variableFolderKey | string | Yes | References the DIQ_VariableFolder used to organize this variable |
name | string | Yes | Display name of the variable |
type | string | Yes | The variable type, such as number , boolean , or, list |
list | string | No | JSON string containing the available values when the variable type is list |
value | string | Yes | The current value of the variable |
Implementation Guidelines
Data Persistence
The host application should not create or modify variable definitions or values. When a new variable is received it should be persisted, and when an updated variable is received the existing record should be updated using the values supplied by DimensionIQ.
Variable Folder Relationship
The
This relationship should be preserved exactly as provided by DimensionIQ to maintain the organization of variables within the project folder hierarchy.
Variable Types
The
Variables may represent numeric values, boolean values, or lists. When the variable type is
The structure of this JSON is an internal implementation detail of DimensionIQ. The host application should persist and retrieve the
Read-Only Behavior
All
The host application may read and use stored variables but should not modify:
- The identifier - key
- The folder relationship - variableFolderKey
- The variable name - name
- The variable type - type
- The list definition - list
- The variable value - value
Any changes to variables should be performed through DimensionIQ.