Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Update Data for Entity

$
0
0
Hi Pied,

In order to update your database with new excel file, perform these steps.

1. Create file upload control (Preferably pop-up)
2. Create one button "Import".
3. On import action, iterate through each record from excel.
4. Take one aggregate including table which you want to update.
5. Apply filter condition for unique value which matches with excel and database.
6. Give input parameter from excel to the aggregate.
7. After this take assign widget and assign values to aggregate attributes from excel.
8. Take update action from entity after this. Source record must be current values of aggregate.

Also to have proper format for time, I am giving just text in excel and at the time of assigning from excel to table value converting as TextToTime().

I hope this helps.

Thanks and Regards,
Suraj Borade

Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>