Get Free Trial

load field data when it is needed

Sebastian asked on September 25, 2019

I’m currently looking into how I can integrate flexmonster into my actual application.
I’m running a large app for analyzing thousands of fields with tons of datapoints. I want to give more analyzing possibilities to my users and flexmonster seems to be one option.

My Question: Can I supply a skeleton of base data and define all possible field the user can select for the current view. But do some lazy-loading of the selected field values after the user has added them to the sheet? I have looked into the events but haven’t found something like “field added to view”…
Thanxs! Sebastian

1 answer

Vera Didenko Vera Didenko Flexmonster September 25, 2019

Hello, Sebastian,
Thank you for your interest in Flexmonster and for explaining your use case.
1) We would like to explain that the lazy loading technique is used for Elasticsearch and Cube (like MS Analysis Services and Mondrian) data sources.
When using Elasticsearch or Cube data source a new query is formed on every change in the report (for example, expand, filter, etc). This means that only the part of the data needed for the requested representation (expand, filter, etc) is loaded at a time, therefore, the browser’s memory is used in moderation. 
You have the ability to load just part of the data necessary for the specified report.
Please kindly note that in case of JSON/CSV/SQL data source, no query is formed, because the entire data source was already loaded into the browser at the beginning. You have to load all data before component starts displaying any report.
2) As an alternative to the Elasticsearch/Cube solution, we recommend checking out our custom data source API approach. Currently, it is in the beta version available on GitHub: . It allows implementing your own data aggregation service based on your existing infrastructure. Such an approach allows sending already aggregated data to the Flexmonster. Custom data source API gives full control for the data management and provides the widest variety of optimization options.
You are welcome to contact us in case of questions.
Best Regards,

Please login or Register to Submit Answer