x++


how to protect the x++ source code


Is there a way to protect or hide custom code written in X++ for AX customization. I have made some new custom Forms, Tables, ...etc, on AX and i would like to hide the source code of my customizatzaion.
It's not possible. You can only protect you code by using the correct layers.
You could always scramble/obfuscate your code, there are tools that do this like this one:
http://www.aximprove.co.uk/
However hiding your code or scrambling it is a bad idea. It goes agains everything AX stands for. When you create a product as an ISV, you partners have the right to extends that functionality for their customers. And when a customer wants to customize the solution that the partner provided, they also should be able to do that when they have the correct license. That would be impossible when the code is scrambled.
Also, imagine debugging that code...
No customer/partner should accept that a solution written in X++ is scrambled.
I do not believe this is possible. From whom are you trying to hide the code?
One solution to hide your code would be to completely remove the layer (.aod file) that you created your customizations on. However, this would take all of your modifications out of the application along with the code.
The only way to keep source code hidden from another user is to make sure that they do not have an X++ Source Code security license on their application.
Definitely you can't. The X++ code in Dynamics AX is open by definition and there is no way to obfuscate or lock the source code for users or another partners if they have a development license.
You have your code protected by layers, but it is impossible by definition to hide it.
No you can only obfuscate your code. If you want to keep functionality private, you can put code in a .NET assembly.
Like Klaas said, almost no customer would accept this. I personally wouldn't accept the code, and I work for a large customer. I need to be able to debug immediately. If your code causes an issue that stops our production, that's $150k/hour...that's why I'm on-site and available 24/7. I doubt you can provide that guarantee too.

Related Links

X++ loop through lines in grid control
Concatenating row values in x++
How do you access a macro in the AOT macro node?
How can I set the Backgoundcolor of an AX2012 Action Pane Button
How to Edit address using X++ in AX 2012
Number sequence issue Ax 2012?
Find code that's running in a Batch Job
What is the _isMexican boolean for in the Global::Checkpower method?
AlwaysOnTop property not behaving properly
Boolean AND logic in Microsoft Dynamics AX 2012 AIF QueryCriteria
Table: PrintMgmtSettings Field: Printjobsettings(Blob)
What happened to the hrplimittablerelationship table in ax-2012-r2?
Why is my changes ignored to releaseupdate scripts in dynamics ax 2012 r2
What is “old sys” exactly and why would I receive errors in 2012 because of a missing Macro?
How to filter records in line grid based on selected record in header grid?
Dynamic linking gets cleared when inserting new records

Categories

HOME
cygwin
beautifulsoup
httparty
paraview
gdb
phpmyadmin
powerpoint
sitecore
solver
switch-statement
permissions
jtextpane
dkim
startup
emoji
xcodebuild
ipmitool
enterprise-architect
gruntfile
keytool
wolframalpha
apache2.4
kendo-mobile
gulp-watch
systemtime
ember-cli
highstock
fat
browser-sync
sqlpackage
alm
zend-debugger
hibernate-validator
code-snippets
biztalk-rule-engine
reactjs.net
pop3
yowsup
getlasterror
apiary.io
google-knowledge-graph
openalpr
spring-mvc-test
subclipse
http-request
show-hide
flask-login
jboss-4.2.x
lampp
fclose
activeperl
appdomain
java-6
jqchart
reshape
offline.js
gameplay-kit
bootstrap-tags-input
cubism.js
angular2-testing
pacemaker
uicolor
neon
simevents
lean
jtwig
data-protection
np-spring
qbxml
user-management
jbase
libvlc
directdraw
terracotta
gocql
fiware-monitoring
jdi
flock
toolkit
uncompress
canvg
adehabitathr
ejb-2.x
rapidsvn
metatrader5
teaspoon
xmltodict
ora-06550
bin
gpars
sqlclr
web-notifications
frameworkelementfactory
mkv
saleslogix
faye
isa-swizzling
matlab-load
catransform3d
django-paypal
objective-j
build-environment
dsl-tools
perl5.12
netbeans6.1

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App