23
Views
2
Comments
How to use ProgressBar?
Question

I try to use dynamic ProgressBar when save a list of data to database. After a record saved, the ProgressBar will increase percent.

Have any solutions?

Thanks

Hi Minh,

Please check out this link https://success.outsystems.com/documentation/11/developing_an_application/design_ui/patterns/using_mobile_and_reactive_patterns/numbers/progress_bar/

It shows how to use the progress bar.

Now as per your requirement, you can increment the value of progress bar after every database save call depending on number of records

Thanks

Add 

Numbers\ProgressCircle block from UI Outsystems UI 

drag and drop Block to the screen 
Create a Integer variable in the screen called "Percentage"
pass the variable to the block for both text and progress 

In your Saving Logic , 

You need to find total number of records to insert 
if total number of record = 100
on foreach assign  
Percentage = Percentage +1 



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