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.
- Create a Text global variable (
rootVar
) in your root directory with some data

- Create another Text global variable (
kVar
) in your komponent and leave it empty

- Tap on the check box next to your list
kVar
- Tap on the “globe” icon from the top right

- Tap on the “globe” icon that’s appended to your
kVar
variable

- Select
rootVar
from the list

- Add a Text element in your komponent with the following formula:
$gv(kVar)$

...