Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Using report parameters to make other parameters editable or not

Posted on by Microsoft Employee

I've got these report parameters that I use a data contract and UI builder class. My question is that when the check box is checked is it possible to make the values not editable? I already have it so the values are used if the checkbox isn't checked, but if the checkbox is checked the values are attained in a different way in the dp class. 

So this question is only to enhance user experience. Making the value boxes uneditable if the check box is checked.

      10682.Capture.PNG

Thanks in advance

*This post is locked for comments

  • Rati Sharabidze Profile Picture
    Rati Sharabidze 612 on at
    RE: Using report parameters to make other parameters editable or not

    Hi,

    Those textboxes are also in the report design itself eventually.

    My guess is that you can put this logic on the design side.

    Or you can do Brandon's suggestion.

    BR

  • Verified answer
    BrandonSA Profile Picture
    BrandonSA 1,669 on at
    RE: Using report parameters to make other parameters editable or not

    Hi Jacobh2

    Yes, it is possible.You need a UIBuilder class (which you have), and then you need to override the modified method of the checkbox. In the override, set the fields you want to editable or not.

    Here is an example:

    community.dynamics.com/.../170292

    In this example, some of the fields are setting values in other fields. You can see how it's done. Instead of setting values though, you can just set it to editable or not.

    Here's the link you really need:

    www.artofcreation.be/.../ax2012-sysoperation-part-3-sysoperationautomaticuibuilder

    This is for SysOperation, but it's the same for SSRS UI Builders

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans