Flexmonster MCP Server is here! Connect your ✨AI assistant to our documentation. Get started
+

Run reports via Java backend without the need for a front end.

Resolved
Gustavo asked on October 21, 2024

Hello,

We need to perform a report sending scheduling process in our system using flexmonster, where the user will receive the report created every X time.

When viewing the flexmonster documentation, we didn't find anything that would indicate a way to do this directly on the server side (backend).

Is there any way to currently carry out this process? If not, do you anticipate any developments?

4 answers

Public
Nadia Khodakivska Nadia Khodakivska ⋅ Flexmonster ⋅ October 22, 2024

Hello Gustavo,

Thank you for reaching out to us.

You can perform a report sending scheduling process from the back end by running Flexmonster in a headless browser. We provide an example for reference with Puppeteer — a JavaScript library for working with headless browsers. Please check a sample GitHub project with Flexmonster and Puppeteer: https://github.com/flexmonster/pivot-puppeteer.

It demonstrates how to export the report using server-side capabilities. Our documentation provides more detailed steps: https://www.flexmonster.com/doc/export-and-print/#export-without-browser.

You are welcome to contact us if other questions arise.

Kind regards,
Nadia

Public
Gustavo ⋅ October 22, 2024

Hi Nadia,

Okay, got it.

Are there any plans to develop functionality that meets this requirement of generating the report on the server side? Without using a headless browser

Public
Nadia Khodakivska Nadia Khodakivska ⋅ Flexmonster ⋅ October 23, 2024

Hi Gustavo,

Thank you for the response.

Kindly note that Flexmonster Pivot is designed as a client-side component specifically for visualizing data in the browser, so generating reports server-side without using a headless browser is not within our scope. There are currently two options: exporting the reports manually from the browser or automating this process using a headless browser like Puppeteer. This feature is expected to be handled on the back end of your system, and the solution we suggested with a headless browser like Puppeteer remains the recommended approach for this use case.

Feel free to contact us if other questions arise.

Kind regards,
Nadia

Public
Gustavo ⋅ October 23, 2024

Hello Nadia,

Ok, perfect.

Thank you for the response.

Please sign in or register to submit your answer