After you add and save JavaScript code for Swift MEAP™, note the following:
- The JavaScript code is sent to any user who receives a new Configuration Application Definition (CAD) file. Even if you have only partially entered the JavaScript code, that code is sent to users as part of the new CAD file.
- The CAD file is automatically transmitted when activating a mobile device for the first time only.
- However, administrators can manually transmit the latest CAD file to users as and when required.
- All JavaScript code is stored in the application configuration files, so if you are running multiple servers and importing scripts from or exporting scripts to another server, then all JavaScript code is transferred to the new server.
- After JavaScript code has been configured and tested, it is recommended that you copy the code and document what the code does so that other users can use and change the code, if required.