Can anyone please help me to solve this!
How to show the Progress Circle when respective screen action is processing
Show progress of result as start & till the action is completed.
In my case, i've uploading bunch of data from excel file by clicking the button Upload. And i'd like to show the progress record while action running in background
Thanks in advance,
NU
Hi @Nithish U
try to follow these articles
for bar -https://success.outsystems.com/documentation/11/developing_an_application/design_ui/patterns/using_traditional_web_patterns/numbers/progress_bar/
or
for circular bar-https://success.outsystems.com/documentation/11/developing_an_application/design_ui/patterns/using_traditional_web_patterns/numbers/progress_circle/
hope this will help you
Regards,
Prince
@Nithish U
as it says clearly, progress should be integer
2. try to create percentage this way
Whenever you add any record. Then try to refresh the percentage variable value it will increase the progess bar. As @Wasim Khan previous adviced.
Hi Nithish,Check this discussion link,Thanks
Hi Venkatesh,
This post is for Traditional web.
Wasimkhan S
Hi Nithish,
You can check this document and forge component as well.
Hope it might help you.
https://success.outsystems.com/documentation/11/developing_an_application/design_ui/patterns/using_traditional_web_patterns/numbers/progress_circle/
https://www.outsystems.com/forge/component-overview/4313/circular-progress-bar
Hi Friends,
Thanks for replies
I've tried this all but My issue is showing the result of the file's row count as looping in the progress bar while action running.
Here I have boolean variable LoadComplete on start & end of the action. Based on this, I want to showcase the results on progress bar image/widget. Like this below
So i wish to know what should i put here (from the excel count)?
if you want to check the sample. you can.
Sample - click here
regards,
UpdatedRecordCount/TotalCount*100
Hi,
You can have two local variable.
1. TotalCount(Hold the value of total no. of records) and keep the default value as 0. Assign the value of length returning rom excel to record List.
2. UpdatedRecordCount(Holds the count of records updating) keep the default value as 0.
In the for each loop increase the value by adding 1. Assign, UpdatedRecordCount =UpdatedRecordCount +1
In the ProgressCircle. Map the local variables.
Regards,Wasimkhan S
Thank you @Wasim Khan for your reply
But i couldnt refresh that conatiner which holds progress bar when action keeps running
Do you have any idea?
Here I take this progress bar for refresh results
You need to set the OnClick method of upload button to "AjaxSubmit". So that Ajax refresh will work. But upload widget wont work if the method is "AjaxSubmit". So cannot do "AjaxRefresh" on upload action.
Try having one button screen and make the visible property to "False" and keep the Submit property of that button as "Ajax Submit" and in that drag Ajax refresh widget and map the container Id. and In the Upload action, Trigger a Javascript to Click hat button.
In this way you can achieve "AjaxRefresh" on upload action.
You don't need to ajax refresh the progress bar. You can add the count in loop and delete the ajax refresh in the upload action. Hope it will work.