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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Need to make a customized model as Non-Editable

(3) ShareShare
ReportReport
Posted on by 32
Hi Experts,
 
I have a requirement in which i need to make my customized model as non -editable by enabling license. Please suggest what steps i need to follow to achieve the same .
 
Thanks in advance.
Rajat Agarwal
I have the same question (0)
  • Martin Dráb Profile Picture
    237,948 Most Valuable Professional on at
    The key question is whether you want to give users source code or not. If not, you can give them just a binary model, so they have no source code to edit. On the other hand, they'll have a hard time finding extensions points etc.
     
    If you give them source code, they surely can change the text files. In theory, the license could be bound to an assembly signed by your private key, or a hash of binary files, which would prevent others to use their modified source code at runtime. But no such as a solution exists in F&O, AFAIK.
     
    Note that you can use a combination of both - have such sensitive parts as a binary model and the rest as a normal model.
  • CU21101226-0 Profile Picture
    32 on at
    Thanks for your response Martin.
    In my case i want to make it license enabled and users can only make the changes only if they have license key
    so basically its conditional if they have the license key then users should be able to access/edit the source code otherwise it would be like ISV model.
     
    Best Regards,
    Rajat Agarwal
  • Martin Dráb Profile Picture
    237,948 Most Valuable Professional on at
    A license applies at runtime, controlling which parts of F&O users can use, while source code are text files on developers' machines. If you give developers XML files with source, then can edit these, regardless of what license is or isn't installed to an F&O environment.
  • CU21101226-0 Profile Picture
    32 on at
    Apologies for my mistake  earlier i confirmed we can't give access of source code to users.. Please suggest the steps i need to follow if i need to lock the source code as well.
     
    Best Regards,
    Rajat Agarwal
  • Martin Dráb Profile Picture
    237,948 Most Valuable Professional on at
    If you don't want to share your code with your customer, despite of making extensions and debugging of your logic extremely challenging for them, simply don't give it to them. What they need to run your solution are binaries that you created by compiling your source code; not the original source code. For example, you may just give them a deployable package, or manually exclude unncessary folders from your model.
  • André Arnaud de Calavon Profile Picture
    301,069 Super User 2025 Season 2 on at
    Hi Rajat,
     
    Martin is fully correct here. Note that even when you only provide the binaries, a developer can extend the ISV solution without having the original source code. There is no option to prevent that. All objects are listed in Visual Studio, but with the objects highlighted with a italic font. It will be only quite hard when they don't know the exact source code of all the objects. However adding fields to tables, forms, and data entities is a fairly simple exercise.

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

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans