Need a special offer?Find out if your project fits.
+

Server side generation

Answered
Gildas Brun asked on February 28, 2019

Hello,
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 ?
Thanks
 

2 answers

Public
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-report/#phantomjs
I hope this information would be helpful.
Regards,
Tanya

Public
Gildas Brun March 4, 2019

Thanks.
We will try
 

Please login or Register to Submit Answer