Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Is there a way to make a variable that all apps can read? Like, say I wanted to share a file name or a file path or a formatting string such as 'WWW DD/MM/YYYY'. Apps would reference such a variable via syntax like $(my_global_var). Then I could easily keep formatting consistent among all apps or manage file paths easily instead of having to update them in many places.
I imagine I could put such variables in an Excel or text file, import them, and use something like peek() to get the data into variables. But I haven't investigated the details of doing it that way yet because I was hoping there was something better built-in. Thoughts?
What about creating a Qlik Script files (myGlobalVars.qvs) and including it to all your script using Include ?
Like this:
$(Include=lib://YourLIB\myGlobalVars.qvs);
What about creating a Qlik Script files (myGlobalVars.qvs) and including it to all your script using Include ?
Like this:
$(Include=lib://YourLIB\myGlobalVars.qvs);
Vegar:
Ooo, that's cool. I will have to try that. Thanks!