Skip to main content
All CollectionsIndaView Creator
Manage your variables
Manage your variables
Updated over 7 months ago

Prerequisite : This feature is available for users with a View Creator role.

When creating views with IndaView Creator, you will be using variables that represent Indaba metrics.

When editing a formula, you can easily access Indaba metrics by selecting the database where the metric you want to use is stored.

Aliases

Even though the preferred method of accessing metrics is directly from Indaba, you can choose to use an alias system.

The idea is to assign an alias to an Indaba metric.

In the top right corner of the screen, click on the menu, then go to Variable Alias Management.

First, you need to define a data source to specify the database from which your variables (metrics) will come.

Click on Data Source, then Add.

Complete the IndabaDatabase field by entering the name of the Indaba database in which the metrics you are interested in are stored. In our example, "system".

Note: You can also name the data source as you like. Here, we have chosen "Documentation", for example.

The VariableRefreshRateInMilliseconds parameter indicates how often the variables values will be refreshed, in milliseconds.

The VariableTimeOut parameter indicates the time, in seconds, after which a variable will no longer be considered if it hasn't been refreshed. The display components then turn pink :

To disable this feature, enter 0.

Once the configuration is complete, click on Validate.

Next, select your data source from the dropdown list at the top left of your screen.

Click on Add an alias.

Choose an alias name for your variable (here, "documentation") and specify the Indaba metric you want to associate with it.

Click on Save Changes to save and then Exit.

Your variable is now linked to an Indaba metric under the alias you have chosen.

You can now use it for your animation equations, visibility, or in a display.

Keep variables displayed when no data has been retrieved

If a variable has not been refreshed for a certain period of time (defined in a storage rule), it is no longer taken into account in IndaView and the value display turns pink :

To avoid this, you can disable the 'VariableTimeOut' parameter, which specifies the time after which a variable is no longer taken into account if it has not been refreshed.

This parameter can be disabled for Indaba data sources.

To do this, go to the alias management menu :

Then click on 'Data Source':

Add a data source :

And give it the same name as the Indaba database for which you want to disable the VariableTimeOut parameter :

All that remains is to disable the 'VariableTimeOut' parameter by entering the value 0 :

Click 'Validate'.

The parameter is now deactivated and the variables will be displayed normally, even if no data has been retrieved for some time.

Did this answer your question?