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

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
Box::info showing “refreshEx”
How to filter lookup values on a dialogfield in Report Dialog based on another dialogfield in AX 2012 AOT reports?
Adding scrollbar to a Group in AX 2012 form

Categories

HOME
phpword
hyperlink
fuelux
polymer
c++11
rdbms
datastore
battery
sitecore
jsf-2.2
tivoli
switch-statement
nested-if
boto3
discrete-mathematics
pega
plist
project-intu
emoji
rtf
google-form
speech-synthesis
enterprise-architect
video-editing
git-extensions
connector
sencha-touch
sar
springfox
exit
google-cloud-print
maze
syntax-highlighting
openmdao
calculation
magento-1.8
mobx
volatile
weather
r-grid
linkedhashmap
gnat-gps
fiware-cygnus
node-mssql
sim-card
ods
avcapturedevice
manova
remedy
azure-cli
truezip
gameplay-kit
swingworker
meteor-packages
redbeard-ios
envi
myspace
cda
fink
dnssec
cakephp-2.7
cross-join
addressing-mode
metatrader5
psr-4
angular-carousel
template-deduction
functional-java
amslidemenu
openargs
scriptaculous
away3d
panda3d
cakephp-1.2
google-maps-mobile
gobject-introspection
inline-formset
cac
jqueryform
ajax-polling
message-passing
openfaces
blender-2.49
spread
xpsdocument
java1.4
ifilter
pbcopy
wspbuilder

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