Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello everyone,
We would like to allow anonymous users to be able download data from our visualizations in a Qlik Sense mashup but I have seen in discussion Example of using exportData method that this is disabled by default. Is there any way to achieve this as I would have thought that this is a fairly common requirement?
Thanks in advance.
This was a firewall issue. However, I learned that when calling the exportData method, it is necessary obtain a new ticket. I did this by prefixing the response URL with the name of the virtual proxy directory, so that the call is re-directed to the authentication script before exporting the data. This works fine. Now I need to look into handling the connections for the anonymous user so that it doesn't close existing sessions.
Hi Richard, I meet the same issue as you.
I am trying to export data from a Qlik sense mashup page, while get "access denied" error.
Is it possible to share your solution?
If you could share your solution step by step, or with screenshot, that will be great.
Thanks so much for your help!
app.getObject('objectid').then(function(model) {
var table = qlik.table(model);
table.exportData({download: true});
})
Hello,
To be able to download data you need to be authenticated, even if you authenticate using a generic user. Are you authenticating?
Regards,
Richard
Hi Richard, thanks for your response!
As the Qlik mashup is published to everyone. It is anonymous access.
Any suggestion?
Hello @rbartley I had the same problem, do the tutorial https://youtu.be/2k1OgRLsGQw, the problem of exporting data in a mashup by an anonymous user will be fixed.