Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

With effect from the October 2022 release of the Dashboard, Variables can now be used for Object Labels. When a Variable is used on an Object Label, the object will display the text derived from the Variable. For example, if you have an object called ‘Store Name’ and you create a Variable that states STORE_NAME = UK Stores, users will see Store Name - UK Stores in Dashboard>Chart Editor.

...

Info

This is very important because the name of the object is used for object replacement Object Replacement in the system. Having the label added to it can easily confuse users about what to use when they use object replacement Object Replacement in this format {{name}}.

The following screenshot shows how the label has been added in the Data Connection.

...

We then added a Variable [[STORE_NAME]] and added the Variable Value of UK Stores in Dashboard Configuration>Settings>Global Variables.

...

This feature needs to be specifically enabled To see the Variable used in an Object label. users will need to enable the feature in Dashboard Configuration>Settings>General Settings (as shown in the following screenshot). This is because:

  • There will be an additional performance cost when saving ‘Settings’ that are related to Variables or Objects

  • Object Names are used for the Object Replacement feature , and setting an Object Label may cause confusion

  • This implementation is intended for very specific use cases

...

We advise using this feature with caution, particularly if you also use Object Replacement in your Dashboard.