Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
briwilli
Contributor III
Contributor III

Changing Qlik Sense apps in mashup causing exportImg() to fail

I have a Qlik Sense mashup that allows a user to select from a list of apps which then opens the selected app and renders a chart.  The user can then export the chart to a jpg or png image using the exportImg() API call.  This works fine for the first opened app.  If the user then selects another app, the program will invoke the app.close() call and open the second app and render a chart. If the user then attempts to export this second chart to image, the engine returns an error code 2 and no image file.  If I remove the app.close() then the user can export the image for subsequent app selections with no errors. The downside to removing the app.close() is that each user will end up multiple open app connections.  My workaround is to reload the entire page after closing the app which works but is not very efficient as all Qlik and web resources have to be reloaded.  Does anyone have suggestions for getting around this problem?

Labels (1)
0 Replies