🍉 Meet Flexmonster Pivot Table & Charts 2.9.Check out all the hot features!
Get Free Trial

Server side generation

Gildas Brun asked on February 28, 2019

We use Flexmonster to generate reports. So far, despite some formatting problems, we use the CSV model.
But to view the reports, the user must log in to the application, go to the page, and choose his report. We save the report settings in DB.
Question: According to you, would it be possible to generate these reports on the server side, and for example, to save them in PDF / Excel on the server File System ?

2 answers

Tanya Gryshko Tanya Gryshko Flexmonster March 1, 2019

Hello, Gildas,
Thank you for writing to us.
We would like to confirm that it is possible to generate such reports on the server side. The most convenient option is to use PhantomJS. PhantomJS is a headless web browser scriptable with JavaScript. This means it allows using Flexmonster’s exportTo API call without showing the pivot grid. With the help of the simple script, you can load an HTML page with Flexmonster instance, and export its content. For more details please refer to this doc: https://www.flexmonster.com/doc/export-and-print/#!phantomjs
I hope this information would be helpful.

Gildas Brun March 4, 2019

We will try

Please login or Register to Submit Answer