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 :
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 672

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
    672 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
    303,349 Super User 2026 Season 1 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
    303,349 Super User 2026 Season 1 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

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 509 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 375

#3
Adis Profile Picture

Adis 268 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans