Get Free Trial

Option for storing AdHoc report on Central location

nisha asked on September 1, 2020

Hi Team,


By default if we generate AdHoc report or custom report through flexmonster,  it will get stored locally on user’s machine (.json file available locally). 


Could you suggest options available from flexmonster for storing Adhoc or Custom report on central location instead of storing it locally?
We want the Custom report to be stored on central location so that other users can also access it.



4 answers

Vera Didenko Vera Didenko Flexmonster September 2, 2020

Thank you for your question. 
For saving Flexmonster reports to a central location, we kindly recommend using the save() API call. Via the save() API call it is possible to save the report to a server, for example:{ 
filename: 'myreport.json',
destination: 'server',
url: ''

Note: the server-side script should be created on your back end to save reports to the server. And the URL parameter is the path to this server-side script.
For more details about the save() API call, please see the following guide:

The previously saved reports can be loaded into Flexmonster in the following ways:

  1. Using the load() API call:
  2. Using the setReport() API call:
  3. Through the “Open” Toolbar Tab. We would like to mention that it is possible to customize the Toolbar. This means you can add a new Tab or extend the existing Tab’s menu to provide additional functionality to your users. For more details, please see the following guide:

Please let us know if this would work fine for your case. If further questions arise, please feel free to reach out.
Looking forward to your reply. 
Kind regards, 

nisha September 3, 2020

Hi Vera,
Thanks for your reply.
Can we pass “requestHeader” to the API URL while saving the report to central location in
like flemonster does it for exportTo-
Please suggest ways to authorize server api while sending the request to server.

Vera Didenko Vera Didenko Flexmonster September 3, 2020

Hello, Nisha,
Thank you for your response. 
For such cases, we kindly recommend the following approach: 

  1. Use the getReport() API call to get the report:
  2. Create a custom save method that would provide the possibility to specify request headers and desired parameters.

In addition, we would like to mention that it is possible to customize the Toolbar. This means you can overwrite the default “Save” Tab’s behavior or add a new Tab for your custom save method. 
Please let us know if this works. 
Looking forward to your reply.
Kind regards, 

Vera Didenko Vera Didenko Flexmonster October 6, 2020

Hello, Nisha,
We are glad to inform you that now requestHeaders are supported for load() and save() API calls.
This is available in the latest version of Flexmonster:
You are welcome to update the component. Here is our updating to the latest version tutorial for guidance:
Please let us know if everything works.
Kind regards, 

Please login or Register to Submit Answer