So the people using JS got the Image export available with their API.
Is there anyone that found a way to do this within C#?
Apparently the API's for this are not public, but why??
I have got it to work with opening a browser and navigating through it to export the image and get it from the server. But this is not really reliable to use.
If the API's are not going to be public, is there a way to for example put a bit of JS within the application and handle this image export for the C# bit? If so does it need any install of node.js for example? I have not worked with JS and the Qlik API's.
If someone would be able to provide sample code for this last bit, that would be really awesome.
The problem i'm facing with CaptureHTML is the each time I call it opens a new session with QSE. Then after 5 calls I get the error "You cannot access Qlik Sense because you have too many sessions active in parallel."
So I have to wait to reach the session timeout limit to be able to export a chart object again.
Please read the whole topic. As it talks about using the printing service of Qlik.
I use it in my C# .net application to get images from the Qliksense server and export as many images as i want without any session issues. It is not the visualisation API.
Using the printing service is doing what Qlik Sense it self does to get the images exported. You can examine the POST call Qlik makes when exporting an image in the browser. Then build this POST Request body within your application and make the POST request to the server. The Body can be build up with data you can get from the Engine.(.NET SDK).
The POST Request is sent to the Printing service of QlikSense. Hence the talk of using the printing service.
Where can I find the string value of snapshotDatato pass to the request ? I already tried with AbstractStructure.PrintStructure() but the image is not being generated. the status response of the get request is "Processed" rather than "Completed" and without "qUrl" parameter.