Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I’m trying to export an image from a Qlik Sense mashup using the Visualization API ( viz.exportImg ).
It works but only for the very first app you open “AppA”, see example code below.
If you open another app ,”AppB”, before the first one the image export fails with error code: 2 (I have not found any documentation for what error code 2 means by the way).
If you however open the second app “AppB” after the first one “AppA” exporting images works but only ever for the first opened app. The “currApp” API call seems to follow this pattern, it only ever returns the first opened app.
Data export seems to work regardless of opening sequence.
Is this the expected behavior or is there a way to change the “active” app??
Example code:
Hi @will_br ,
That's unfortunate, this should have been fixed - please contact support and report the issue (so it get prioritised and eventually get in in future patches); meanwhile we will look into this.
That's ok @Aiham_Azmeh, thank you. A colleague reported the issue, hope it gets fixed soon.
Five years later and this issue has not been resolved. I am running into this same problem with my web based app. The workaround I am using is to reload the entire web app, which is not ideal since it takes a while to reload all the Qlik javascript libraries