Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
jack-b
Contributor II
Contributor II

Is it possible to pull a request ID from the app's own link.

Hello,

I am currently using Qlik sense enterprise and I've created an app template for analytics. To reach this template a potential user will have to click a link to bring them to the dashboard. They will then click a button on the first tab to refresh the data in the later tabs in the dashboard.

The catch is the link the link will differ every time with a new request ID at the end. That request ID tells the app what data files to load. Example https://www.example.com/sense/app/100001 where 100001 is the Request ID.

What I would like to do is have the app pull the request ID our of its own link and set it as a variable. So when the user clicks the refresh button it will pull the request ID from the link and load the data files related to that ID.

The code is already written to accept the Request ID variable. I just need a way to change the request ID variable based on the link.

Any insight on a way to solve this issue would be highly appreciated.

Labels (2)
1 Solution

Accepted Solutions
pedrobergo
Employee
Employee

Hi @jack-b 

You cannot execute loading script like that, the second app will only apply url parms to use as a data filtering.

The best approach for your need is ODAG - On Demand Application Generation.

Look at this link: https://community.qlik.com/t5/Qlik-Sense-Documents/On-demand-App-Generation-ODAG-in-QlikSense/ta-p/1...

[],

Pedro

 

View solution in original post

2 Replies
pedrobergo
Employee
Employee

Hi @jack-b 

You cannot execute loading script like that, the second app will only apply url parms to use as a data filtering.

The best approach for your need is ODAG - On Demand Application Generation.

Look at this link: https://community.qlik.com/t5/Qlik-Sense-Documents/On-demand-App-Generation-ODAG-in-QlikSense/ta-p/1...

[],

Pedro

 

jack-b
Contributor II
Contributor II
Author

@pedrobergo Thanks for the help!