Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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.
May be you get App id dynamically in the script variable and use that in the URL -
let vTest = DocumentName();
Hi Digvijay,
Thanks for your solution.
I have fetched appid dynamically using QRS API connection and it worked.
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.
May be you get App id dynamically in the script variable and use that in the URL -
let vTest = DocumentName();
Hi Digvijay,
Thanks for your solution.
I have fetched appid dynamically using QRS API connection and it worked.