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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Contract class parameter values in dialog

(0) ShareShare
ReportReport
Posted on by

Hello guys

How can i show Contract class parameter values in dialogue? Do I need UI builder class? Or is there any other magic way? I am opening report through controller and controller takes parameters from form and writes into contract class.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    torakri Profile Picture
    on at

    My problem was using preRunModifyContract(), needed to write contract parm methods in controller class.

  • Suggested answer
    Martin Dráb Profile Picture
    240,002 Most Valuable Professional on at

    There is an automatic UI builder that creates a dialog for you from the definition of the contract class. You can influence its behavior with certain attributes, such as SysOperationLabelAttribute. If it's sufficient, you don't have to bother with UI builder classes at all.

    If you have more complicated requirements, you can create your own class as a specialization of the automatic UI builder, or even build the whole UI by yourself.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans