Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

How to save config file directly to Mysql?

Closed
Albert Ryan Banez asked on December 16, 2020

Hi, 
How can I save config file directly to Mysql without file intervention?
What is the best solution for this?
 

2 answers

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster December 16, 2020

Hello,
 
Thank you for contacting us.
 
Flexmonster provides two API calls to retrieve the currently applied configuration:

  • The save method can be used to save your current report to a specified location. In your case, you can save the report to the remote server by setting the destination property to server. Next, after the configuration is received on your backend, you can upload it to your MySQL database.
  • Another option is to retrieve the configuration as inline JSON using the getReport API call. Next, this configuration can be sent to your backend manually. After receiving the report on the server-side, upload it to your database.

 
Please let us know if it works for you.
We are looking forward to hearing your feedback.
 
Best regards,
Illia

Public
Albert Ryan Banez December 16, 2020

Nice
getReport api is the one im looking for.
thank you.
 
 

This question is now closed