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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to disable query 'select' button is sys operation framework?

(0) ShareShare
ReportReport
Posted on by 252

Hi,

Assume 'salestable' query is added in sys operation framework. So, when the UI is opened, there will be a select button displayed automatically with respect to pass range values to salestable query. Is there any way to disable the 'select' button w.r.t a check box.

Thanks!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Refer community.dynamics.com/.../212392

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    As discussed in the linked topic, you need to have a controller class for the report, and override the showQuerySelectButton method by returning false.

  • Suren_G Profile Picture
    252 on at

    Hi Vilmos,

    I want the select button to be disabled based on a check box condition. I wrote the below code in the showQuerySelectButton (). In debugging mode, I can able to see that the value returns true. But the button is not enabled in the UI. Please let me know if you have any suggestions. Thanks!

    public boolean showQuerySelectButton(str parameterName)

    {

       boolean ret;

       //ret = super(parameterName);

       if(parameterName == "Show")

            ret = true;

       else

           ret = false;

       return ret;

    }

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    When you let it call super, is the select button available? If no, that means the query used is locked for user filtering/interaction, so have a look at your query properties. If yes, instead of returning true just do the super call.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Pratik Bhosle Profile Picture

Pratik Bhosle 2

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans