Mendix Javascript action: changes removed on build
1
Dear community When writing Javascript code to use in Nanoflows in Mendix Studio Pro, quite often my code gets removed during build… Why is this happening? I prefer that I can trust my IDE to save properly when writing code, so this is very unpleasant. E.g. code before (note that it’s saved) When I click on the “Run” button my code reverts to:
asked
Jochem Geussens
1 answers
4
Hey Jochem, you need to leave the:
// BEGIN USER CODE
and
// END USER CODE
So your code should be between these tags, Mendix will automatically remove everything else.