Document toolboxDocument toolbox

5.1. Quick start

Minimal configuration

Navigation

First, we need to add the microflow NAV_ScrambleRule_Overview to the navigation of the application and give an administrator access to the DatabaseScrambler administrator role.

Creating a scramble rule

Once you have accessed the database scrambler through the navigation we can select an entity to scramble. Make sure the module/entities you want to scramble are synchronised with mx model reflection.

Select attributes of the entities that you want to scramble and set the scramble type. The different scramble types are explained here. With the option keep spaces, capitals and numbers you have some control over how the scrambled data should be presented.

For now, you can scramble the selected row or all active rules. choose scramble or scramble all active rules. Watch out: scrambling is irreversible!

Making sure you don’t scramble the wrong thing

By defining the scramble rules you have control over what data you want scrambled. To allow database scrambling in the first place we provide a constant called “AllowDatabaseScrambling” which needs to be set to TRUE. This constant has to be checked in the logic proceding the Java-action “ScrambleListOfObjects”

License

To try out the database scrambler locally on your pc or even in a Mendix sandbox environment doesn’t require a license. However, a production build will.

You can add the license key through the constant called “LicenseKey”