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 Hide the dialog field depends on menuitem for SSRS report with SysOperation Framework

(0) ShareShare
ReportReport
Posted on by 334

Hi, Experts:

I'm using AX 2012 CU7 and just learn to develop SSRS report.

Any suggestion would be truly appreciated.

Here is the scenario:

I have 2 menu item, M1, M2 both point to same SSRS report controller, which is generated by SysOperation framework.

How to hide some fields and set it to a default value if I click M2. (for example: a checkbox)

Can I do it by overriding some methods in UIBuilder class or can I just set up 2 contract classes for this scenario?

Quatrani

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,967 Most Valuable Professional on at

    I would add a flag to the data contract distinguishing these two cases. I would fill it in the controller and read in the UI builder, which would simply change the visibility of the controls. You can also add some validation and initialization logic to the contract class, to make sure it's always consistent.

  • JCHI Profile Picture
    334 on at

    Martin:

    Thank you for shedding the light!

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
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans