Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

phantomjs and Qlik Sense

Hi,

I am trying to use phantomjs in combination with Qlik Sense. So I pass the QS URL to phantom.js (something like: phantomjs rasterize.js "http://ourservername/sense/app/ff30aa59-85b4-4e2e-ae9e-84f182031800/sheet/bba4f3e9-1109-4c46-859f-96..." test.pdf

De pdf get's generated but is empty. When I pass another url (for instance phantomjs rasterize.js "http://www.qlik.com" test.pdf ) it does work, I get a pdf with data from the Qlik website. The URL I use is fine, when I paste it in the browser it transfers me to the correct page.

So what is going wrong?

3 Replies
Anonymous
Not applicable
Author

After setting the renderingtime to a higher value I succeeded in generating the pdf's. I also have some javascript code to generate several pdf's in one run. My aim is to develop several visualizations in Qlik Sense, and then export these to PDF via phantomjs. How can I combine the various pdf's to 1 pdf? I know I can use a tool for that, but I would like to do it in code if possible.

simondachstr
Luminary Alumni
Luminary Alumni

Go with a tool

Anonymous
Not applicable
Author

Hi,

I have the same problem, but setting the rendering time to a higher value did not help in my case.

Can you share the code please?