Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
h_leppers
New Contributor

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
h_leppers
New Contributor

Re: phantomjs and Qlik Sense

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.

Highlighted
Luminary
Luminary

Re: phantomjs and Qlik Sense

Go with a tool

sergeguillaume
New Contributor

Re: phantomjs and Qlik Sense

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?

Community Browser