web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Endless Progress Bar/Indicator

(0) ShareShare
ReportReport
Posted on by 810
 SysOperationProgress  progress = new SysOperationProgress();
    #AviFiles
    int k;
    ;
    progress.setCaption('@SYS8516'); //Updating...
    progress.setAnimation(#AviUpdate);

    // It'll be 10 passes today, 2 million in the production environment!
    for (k=0; k<10; k++) {
        progress.setText( strfmt("Update step %1", k+1) );
        sleep(2000);
    }

*This post is locked for comments

I have the same question (0)
  • Hariharans87 Profile Picture
    3 on at

    You need to update the step (progress) to the progress class by using progress.incCount() function.

    call this method inside the loop

    progress.incCount();

    Please refer to this link for more information

    msdn.microsoft.com/.../aa841990.aspx

  • Hariharans87 Profile Picture
    3 on at

    Please update the total count by using setTotal e.g. progress.setTotal(30000);

  • UmesH@ Profile Picture
    810 on at

    Thanks For Your Reply.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans