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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to disable or enable submenus in a module through parameter checkbox

(0) ShareShare
ReportReport
Posted on by 668

Hi Folks,

I want to disable/ enable a whole menu or submenu in a module through a checkbox field in parameter setup. How can I achieve that??

Thanks in Advance!!!

I have the same question (0)
  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at

    I think it is not possible by code. You need to use security configuration for that by assigning roles and privileges.

  • Mohit Rampal Profile Picture
    12,565 Moderator on at

    Hi, There is similar discussion recently. Please check this thread.

    community.dynamics.com/.../can-we-enable-disable-menu-when-toggle-button-is-set-to-yes

  • D365FO Avatar Profile Picture
    668 on at

    Yes, I also think the same that it's not possible with code.

    But with security configuration, I m figuring out where to use checkbox parameter value, if its true than the menus are visible else invisible.

  • André Arnaud de Calavon Profile Picture
    300,799 Super User 2025 Season 2 on at

    Hi D365FO Avatar,

    This question is an exact copy of the question mentioned by Mohit. Next to trying to restrict access to all menu items as part of the menu to make it invisible, you can also check if there is a configuration key linked to the menu. You can then using the license configuration to switch off a set of features. That would be then application wide, not per legal entity whereas the security configuration has the option to manage it per legal entity.

  • Mohit Rampal Profile Picture
    12,565 Moderator on at

     Andre Arnaud de Calavon Please provide your input here.

    Even with security, I think its not straight forward task.

    Please check this thread

    community.dynamics.com/.../hiding-menu-and-sub-menus-for-specific-roles-in-d365-f-o

  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at

    Adding to Mohit and Andre, it is like using a checkbox and to configure the security. It is like for admin complete access will be there and for user based on his role, he may have complete access or some access. In that you can configure. For example if you work with workflow in HRM and you have employee role only few modules you can see not all. Similarly you need to make the configuration.

  • André Arnaud de Calavon Profile Picture
    300,799 Super User 2025 Season 2 on at

     Mohit Rampal, You are correct that some menu items are placed in two or more different menus, e.g. the All sales orders menu item can be found in Accounts payable, Sales and Marketing and Retail and Commerce. In that case, indeed three menus will be visible. The original question is missing the context.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 704 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 570 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 408 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans