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)

How to show progress bar on Form methods

(0) ShareShare
ReportReport
Posted on by 5

Hi Experts,

I'm performing lengthy operations on form method (Importing a excel file with huge data).

I want to pop up a progress bar when the file is importing, where I cant move the form method code to class.

please suggest Thanks in advance.....! 

 

Regards,

Hemanth.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mea_ Profile Picture
    60,284 on at

    I don't see a reason why you cannot remove code from the form, but if you want to add progress bar to a form check ReleaseUpdateCockpit standard form. It has progress bar control and code to update it, so you can use it as an example. 

  • Sukrut Parab Profile Picture
    71,710 Moderator on at

    You can find example in the standard documentation

    docs.microsoft.com/.../how-to-create-progress-indicators

  • Blue Wang Profile Picture
    on at

    Hi Hemanth,


    Here's a similar thread: https://community.dynamics.com/365/financeandoperations/f/765/t/291920

    Control progress bar:

    #avifiles
    SysOperationProgress simpleProgress = SysOperationProgress::newGeneral(#aviUpdate, 'Posting', 100);
    ;
    simpleprogress.setCaption('Please wait...');
    simpleProgress.incCount(5);
    simpleprogress.setText(strfmt("Percent: %1"+'%', 5));
    simpleprogress.update(true);
    //....
    simpleProgress.incCount(1);
    simpleprogress.setText(strfmt("Percent: %1"+'%', 46));
    simpleprogress.update(true);

    I hope it will help you.

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
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Scott_itD Profile Picture

Scott_itD 2 Community Manager

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans