Creating a Script Execution

It is recommended that, before opening the IEG Player from an application, the script execution is created using the public API. The execution ID can then be passed to the player.

The following example code snippet shows the creation of a script execution using the public API:

Figure 1. Creation of a script execution
...
  
// create the script execution
final IEGRuntime runtimeAPI = new IEGRuntime();
final IEGScriptExecutionIdentifier executionIdentifier =
  runtimeAPI.createScriptExecution(iegScriptID, schemaName);