Using object variables
Object variables allow you to store the metadata of a particular metric or attribute in one single variable. This object variable can then be reference in View components such as input dropdowns, text boxes, and component fields.
The schema (i.e structure) for object variables is generated when a default value or a current value is set and follows the JSON syntax. As such, you need to define key-value pairs.
For example:
{ "key1": "String", "key2":123, "key3":true }
This is then added to the Default Value field when creating or editing the object variable:
Object variables are then referenced in the following ways:
PQL editor:
${object_one.value}
Component fields:
${object_one.name}