Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

How to add menu item as entry point of Security Privileges based on excel file ?

(0) ShareShare
ReportReport
Posted on by 305

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,

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,971 Super User 2025 Season 1 on at
    RE: How to add menu item as entry point of Security Privileges based on excel file ?

    Hi Axel,

    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.

  • Suggested answer
    huijij Profile Picture
    huijij 19,811 on at
    RE: How to add menu item as entry point of Security Privileges based on excel file ?

    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

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,971 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,846 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans