Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
vish123
Creator III
Creator III

Button to open another URL (Qlik Sense Dashboard) is breaking because of APP ID getting changed everytime

Hi Team,

We have used button object to open another QS dashboard but its breaking sometimes because APPID getting changed. 

Is there anyway to resolve this issue. so that APPID should be picked up dynamically. so URL will not be broken. Please suggest

Thanks

Labels (1)
3 Solutions

Accepted Solutions
stevejoyce
Specialist II
Specialist II

Why is your App ID changing that often?  If you publish and replace existing qvf it will preserve the app id.

You can have your button reference a variable that is created in the load script.  This variable can either be loaded from a config.txt file that you manage/update with new app ID OR maybe use the REST api to fetch app ID based on app name.

View solution in original post

Digvijay_Singh

May be you get App id dynamically in the script variable and use that in the URL - 

let vTest = DocumentName();

View solution in original post

vish123
Creator III
Creator III
Author

Hi Digvijay,

Thanks for your solution.

I have fetched appid dynamically using QRS API connection and it worked. 

View solution in original post

3 Replies
stevejoyce
Specialist II
Specialist II

Why is your App ID changing that often?  If you publish and replace existing qvf it will preserve the app id.

You can have your button reference a variable that is created in the load script.  This variable can either be loaded from a config.txt file that you manage/update with new app ID OR maybe use the REST api to fetch app ID based on app name.

Digvijay_Singh

May be you get App id dynamically in the script variable and use that in the URL - 

let vTest = DocumentName();

vish123
Creator III
Creator III
Author

Hi Digvijay,

Thanks for your solution.

I have fetched appid dynamically using QRS API connection and it worked.