Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

How to get dialog control without UIBuilder?

Posted on by 559
Hi experts,
 
I try to run a class extended SysOperationServiceController and want to modify a field on dialog, and the values of other fields will change accordingly.
 
I have created a Contract class with parmA, parmB and parmC methods. When controller is run, 3 controls will be shown on dialog (UIBuilder class is not implemented).
 
I know how to get dialog control and use registerOverrideMethod to change control value with UIBuilder.
 
Can anybody tell me how to get dialog control without UIBuilder?
 
Thanks in advance.
 
Bernard
  • bernardqin Profile Picture
    bernardqin 559 on at
    How to get dialog control without UIBuilder?
    Thank you Martin, I will use UIBuilder to implement it.
  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 228,112 Most Valuable Professional on at
    How to get dialog control without UIBuilder?
    Dealing with the dialog is exactly what the UIBuilder classes are for. Trying to ignore the framework and doing it in a different way isn't a good idea.
     
    You're currently using the default UI builder. When you want to change the behavior, simply create your own UI builder inheriting all the standard logic from the default UI builder and change the logic as needed.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,263 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,112 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans