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
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