Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

how to find from where the dialog runs

(0) ShareShare
ReportReport
Posted on by 779
Hello,
 
I have a standard form and I have a systemdefinednewbutton on it like that
 
 
when I click on this button the dialog is opened. I'd like to find the place in the code where this dialog is initialised. /new button/ isn't placed on the form in the AOT. I tried to put break point in the standard class dialog.run() but with no result. Could you pls help me?
 
Thanks.
  • dark_knight Profile Picture
    dark_knight 779 on at
    how to find from where the dialog runs
    Thanks Martin
  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,817 Most Valuable Professional on at
    how to find from where the dialog runs
    I think it comes from CzAdvanceInvoiceCreate_Cust class. You could find it by looking into create() method of the data source.
     
    Regarding the breakpoint, the right class would be DialogRunbase (and you need debugging allowed for Application Platform module).

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,817 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans