How to link komponent and root global variables

How to link komponent and root global variables #

There are instances when you need to access your root global variables from a komponent. To do this, the two variables needs to be linked. The steps below demonstrate how this is done.

  1. Create a Text global variable (rootVar) in your root directory with some data
rootVar
  1. Create another Text global variable (kVar) in your komponent and leave it empty
rootVar
  1. Tap on the check box next to your list kVar
  2. Tap on the “globe” icon from the top right
rootVar
  1. Tap on the “globe” icon that’s appended to your kVar variable
rootVar
  1. Select rootVar from the list
rootVar
  1. Add a Text element in your komponent with the following formula: $gv(kVar)$

rootVar rootVar

** expected result: the value of rootVar will be displayed when kVar is called




Privacy Policy