Can I get data exported from flexmonster into local variable

Answered
Bhagvan Chougule asked on August 2, 2016

Hi,
We are plotting the data consolidated in flexmonster on GIS using leaflet. This requires current view of data to be provided in json format to leaflet. Is there any way I can get the data from flexmonster in a variable instead of exporting it into JSON/CSV so that I can use it for geo plotting.
 
Also, is there any plan on roadmap to support geo plotting of the data?
 
Thanks in advance, looking forward for quick response.

6 answers

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster August 2, 2016

Hi Bhagvan!

Unfortunately, there are no features in current version which allow you to get the data into the variable. However, in the version 2.3 we are going to add the ability to integrate with third-party charting libraries. The new API call will return the data from the pivot which you can use further the way you want. Hope it will help you.
Best regards,
Dmytro.

Public
Bhagvan Chougule August 2, 2016

Thanks Dmytro! We are desperately waiting for version 2.3, this will be released in Sept, right?

Public
Bhagvan Chougule August 3, 2016

Dmytro, right now export to CSV/JSON has callback where data is available in the callback. We can utilize this and pass it on to other components. The only concern here is we need to export it to server for no reason and just utilize the data in callback. Is there a way to do some hack and avoid posting data to server?
 
Thanks,
Bhagvan

Public
Iryna Kulchytska Iryna Kulchytska Flexmonster August 3, 2016

Hi Bhagvan,
 
The only improvement of your case we can suggest you right now, with the current version of the component, is to use a primitive server side script that does nothing except returning success. And provide the URL to it in exportTo() API call when you need data only from the callback. This will not help you to avoid posting data to the server, but you will not be saving them there.
 
Kind regards,
Iryna

Public
Bhagvan Chougule August 3, 2016

Hi Iryna,
             Yeah, we are following this approach for now. Thanks for the response.
 
Thanks,
Bhagvan
 

Public
Tanya Gryshko Tanya Gryshko Flexmonster December 5, 2016

Hello Bhagvan and all Flexmonster users,
In version 2.3 new API call getData() was added. You can retrieve the data that pivot instance is showing or define the slice with the data you would like to get. Read more in API reference: http://www.flexmonster.com/api/getdata/
Regards,
Tanya

Please login or Register to Submit Answer