web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to protect excel sheet in d365

(0) ShareShare
ReportReport
Posted on by 25
Hello.
This article was written by a translator.
Like the image below 
i'm looking for a way to code 'protect sheet' within d365(X++) source.
If there is way, please post an example code or class.
Thank you.

I posted this a few days ago, when the answer was as follows.

The source was c# source, so it was useless within d365. If there's a way to use C# within d365, I'd like you to add that as well.
I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    237,679 Most Valuable Professional on at
    How to protect excel sheet in d365
    You should have replied in your original thread, instead of creating a new thread for your reply. Splitting the discussion to multiple threads is confusing and people coming to the original thread won't be able to find the rest of the discussion.
     
    It seems that you don't know that you can use the same classes from X++. For example, look at how we used them in Styling excel using X++ in D365FO.

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 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans