Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
rnorris
Partner - Contributor III
Partner - Contributor III

How do I get the name of a Qlik Sense app programatically?

 

Say I have a document called "DashboardX"

Is there any way, in the script, I can use the fact that it's called DashboardX ? I've got a bunch of dashboards that all function the same but use different connections. I just want some way of being able to copy / create them programmatically, via QlikCLI, such that I set a variable in the script, which the dashboard can use to know which connections it should be using. The easiest way of doing this would be just to use the name, since I'm going to be naming each one after the same string I'm using for the connections.

eg:

let vGenericConnector = TitleOfApp();

LIB CONNECT TO '$(vGenericConnector)';

 

I know I can do DoumentName() but obviously that's not human readable, and you'd need to administer and maintain a lookup table to keep it straight.

Labels (1)
0 Replies