
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to get AppId in load script
Hi, does anybody know if there is ability to get an AppId of current application in load script.
I know where to find an AppId but I need to get it automatically in load script, because I want to use it to log it in databse during loading data and I don't want to set the value as constant in load script because I want it change when I duplicate my app.
Thanks
Mariusz
- Tags:
- script
Accepted Solutions


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mariusz,
If you're in Qlik Sense server, the DocumentName() function will retrieve the AppID.
As a test, i've only loaded two variables as follows:
let vTest = DocumentName();
let vA = DocumentTitle();
Giving me the following:
Felipe.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mariusz,
If you're in Qlik Sense server, the DocumentName() function will retrieve the AppID.
As a test, i've only loaded two variables as follows:
let vTest = DocumentName();
let vA = DocumentTitle();
Giving me the following:
Felipe.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Felip,
thank you very much. I tested this function on desktop, so I didn't get AppId


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mariusz,
In this case, you only have the option to view it on the browser side, or using the API and creating some type of extension to verify the object id.
Obtaining app IDs and object IDs ‒ Qlik Sense
Felipe.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And don't forget when you duplicate the App the duplicate App will have a new App Id different to original App's Id.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes Bill, I know it. I just want it is different to original because I want to allow get data (during reload) only for oryginal app.
