We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

Mongo auto update

Answered
AJ asked on November 3, 2021

Hi,
I have a report im building with WebDataRocks and a custom socket connection in Express to Mongo which watches for document changes and then sends any change back to the frontend automatically and then I call updateData. It works beautifully.
I wanted to know if the Flexmonster component will automatically update its data when directly connected to Mongo if a change in the Mongo document is made ?
Or will I have to connect my socket to Flexmonster somehow ?

1 answer

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster November 4, 2021

Hi AJ,
 
Thank you for raising this support ticket!
 
Flexmonster MongoDB Connector works the same way connection to WebDataRocks does – the pivot table is not refreshed automatically on MongoDB document change. Instead, fresh data is returned to the front-end every time a request is made (e.g., when you reload the page with Flexmonster).
 
That being said, we'd recommend setting up the same socket connection for Flexmonster if an automatic data update is what you need.
 
Please let us know if this helps.
 
Best regards,
Mykhailo

Please login or Register to Submit Answer