Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Unanswered

Using Classes to Create a Dialog

Posted on by 102

I created a button that should open a dialog box, but I don't want the method to be written on clicked. I want to create a separate class that will be called. How do I do this?

  • Gokhan Cakir Profile Picture
    Gokhan Cakir 140 on at
    RE: Using Classes to Create a Dialog

    Hi Pavel,

    You have to extend your custom class from RunBase class. You can find below link as a example.

    daxbeginners.wordpress.com/.../

  • Martin Dráb Profile Picture
    Martin Dráb 225,526 Super User on at
    RE: Using Classes to Create a Dialog

    What is the purpose of the class?

    A typical case for creating a dialog is collecting input from users (on client) and then executing some logic (on server), optionally in batch. If your case is the same, you should use SysOperation framework.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,835 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,526 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans