Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I want to call the Qliksense API from javascript to open an app and set certain listboxes to certain values and to export a chart or sheet to PDF. Anyone some basis code available to build from?
We currently do not expose any printing api's so you have to reverse engineer ours (unsupported) or roll your own.
You could use this node project as a starting point https://github.com/mindspank/chartcacher
Ok, thanks. I now have a running piece of javascript code in which I connect to Qlik Sense desktop. Problem is that my (netbeans) java program runs on port 8383, and Qlik Sense is on 4848, I know get this error:
cannot load http://localhost:4848/qrs/extension/schema?xrfkey=OF39m5CKB55AiMqT. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8383' is therefore not allowed access. The response had HTTP status code 404. (08:39:18:599 | error, javascript)
How can I allow my code access?
You can safely ignore that error.
It is just trying to fetch the list of visualization extensions which you dont need in a mashup scenario.