Develop > Populate the RTSM > Scripting

Scripting

Scripting enables you to perform additional processing and customizing during the synchronization process:

  • Pre-mapping scripts are executed before the mapping rules are applied.

  • Pre-upload scripts are executed after mapping, but before the upload of data to the ClosedRTSM (Run-time Service Model).

  • Post-upload scripts are executed after the upload of data to the RTSM.

One script of each type can be associated with each synchronization package. These optional script files are located in the associated synchronization package directory. For details of synchronization package locations, see Synchronization package locations.

Associating script files with synchronization packages simplifies the distribution of scripts and enables script development to be handled independently of the working environment. The execution of synchronization scripts follows the settings of the synchronization packages:

  • Only scripts in active synchronization packages are executed.

  • Scripts are executed in the order of the priority of the synchronization packages.

Caution Script execution is potentially insecure. In particular, the use of scriptInterface.exec(...) commands can cause damage to an installation. To enhance security, script access for editing is allowed on the file system level only. This makes sure that only users with log-on credentials to the OMi host can edit scripts. This protects the scripts by the log-on security of the OMi host.

Learn more