Notifications
Announcements
No record found.
Hi guys,
If I have a list of menu item names in excel file, can X++ help me to read this file and add those menu items to my existing Privileges ?
Might ask also how to do it ?
Thanks in advance,
Hi Axel,
Please check the example of X++ classes that can be used to read XLSX and CSV files. You can also check the logic used on the form Security configuration. It also gives an overview of menu items per privilege.
community.dynamics.com/.../how-to-read-excel-and-csv-files-in-d365fo-using-x
You can have a look at the form Security configuration and the related coding to learn what classes to call to create and maintain privileges and link menu items with certain permissions. You would need to do a kind of reverse engineering and understand the coding. There are some DLLs used in the background to manage this all.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 672 Most Valuable Professional
André Arnaud de Cal... 534 Super User 2025 Season 2
Sohaib Cheema 289 User Group Leader