15
Views
4
Comments
Solved
Upload widget
Question
Application Type
Reactive

i have an upload widget may have 5000 records in excel how do i get the upload done.

ThankYou

2021-12-23 04-28-09
Navneet Sharma
Solution

Hello @Priya Jhode ,

Agreed with Shoaib, but if you wan to step wise step process to How to upload and process an excel file to create records in OutSystems?

You can refer this Videos 

https://www.youtube.com/watch?v=0NVHxmiPGDs

I hope this will help you.


Thanks & Regards

Navneet Sharma


2022-09-27 05-23-26
Mohammad Shoeb

Hi Priya,

Taking proper approach in development is more important in order to keep application performance fast.

if you have excel file and you want to process the data so there are many ways to handle this scenario.

1. you can directly upload and process the file in action. But if file contains huge no of records so this might not work and end user has to wait until the process complete.

2. Upload the file from the widget and save the file in db and then you can run a timer to process that file. it can able to handle big file.

3. you can also run the process and process the file.


Hope this helps.



2021-12-23 04-28-09
Navneet Sharma
Solution

Hello @Priya Jhode ,

Agreed with Shoaib, but if you wan to step wise step process to How to upload and process an excel file to create records in OutSystems?

You can refer this Videos 

https://www.youtube.com/watch?v=0NVHxmiPGDs

I hope this will help you.


Thanks & Regards

Navneet Sharma


2023-10-21 19-42-11
Tousif Khan
Champion

Hello @Priya 

When we need to process a bulk of data, according to  best practice this has to be done in a background asynchronously in background with heavy timers . A Heavy Timer is used to process heavy operations. Some time we don't know the amount of data we want to process,

There are some points we should keep in mind when doing this

  • There should be no time out( when your timer reaches its timeout and your execution is still running the you will get a time out error.
  • Once our data is been created into our entity make sure you are not repeating the same thing with the records( use some flags to identify it )
  • Once completed make sure there must be some notification kind of something that will let you know that your work is done
  •  Commit a transaction at the end of the cycle.

 You can also refer to this post for the Solutions available , different approaches 

https://www.outsystems.com/forums/discussion/81684/best-solution-of-timer/

I hope this information will be helpful.

Best Regards

Tousif Khan


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.