Get Free Trial

updateData THROUGH MENU

Answered
FERNANDO GUZMAN asked on April 6, 2021

Good day,
 
We have a requirement for using flexmonster for ‘testing’ a reconciliation process.  Is there a way we can have Flexmonster loaded then call have  a user click a button that loads additional local data from a  user computer csv?
From Programming, we know we can simply call updateData with a subsequent dataset, but is there something we can enable through settings to keep updating the same dataset while clicking “Connect to Local CSV”?

1 answer

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster April 7, 2021

Hello,
 
Thank you for your question.
 
You can use the updateData API call with a browseForFile parameter set to true and type parameter to csv in order to update the data from the local storage.
Please note that the user still would need to select the file manually from the local file system. This restriction is due to the limited access of the browser environment to the machine’s file system.
 
You can add the corresponding UI control to the Toolbar, similar to the “connect to local CSV” button. Please see our tutorial on customizing the Toolbar for more information on this point: https://www.flexmonster.com/doc/customizing-toolbar/.
 
Please let us know if it helps.
Do not hesitate to contact us in case other questions arise.
 
Kind regards,
Illia

Please login or Register to Submit Answer