Announcements
No record found.
I have a form in D365 FO with a menu item button in it and i just want to hide that button for some specific security roles.how to create privilege to hide that menuitem button to be included to security roles .
Hi Harish,
You can make use of needed permission property to manual on the menu item button control and add that to security privilege.
Refer to the below blog.
https://www.cloudfronts.com/blog/d365-enterprise/d365-finance-operations/set-form-control-access-via-security-role-in-d365-finance/
Thanks,
Girish S.
If you are talking about a menu item button, then I would not suggest using the NeededPermission property, but ensure the privilege does not have the menu item with permissions. If you are using standard privileges, you can create a copy of it and remove the particular menu item.
The idea of hiding a menu item if it is part of a privilege can also be achieve by deny permissions, but that has a side effect that the user will never be able to see the menu item, even if another role provides access.
If the object is a button control (without menu item object), then you can follow the suggestion from Girish.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 515 Most Valuable Professional
André Arnaud de Cal... 417 Super User 2026 Season 2
CU10121822-0 360