Enable ITP/MDK Repository model runs

It is possible to run models on ITP/OnLine Server 3.1.14 or later from within the ITP/MDK Repository. Refer to the section Test Model tab for more information on configuring the ITP/MDK Repository project. The ITP/OnLine Server itself also needs some configuration for this to work, which is described here.

  1. Only perform this step when using an ITP/Server version prior to 3.2.4. Version 3.2.4 and later already contain these scripts.
    Copy the ITPOLSStartModel.dss script from the Resources folder in the ITP/MDK Repository Server installation to the scripts/system subfolder in the work folder of the ITP/Server installation. Also copy the CheckRepositoryModelAccess.dss script from the Resources folder to the scripts/user Library folder of ITP/Server.
  2. In the ITP/Server Administrator, select the services node and the Constants tab. Set the AllowRepositoryModelRun constant to the value Y, add it if it is not already present.
  3. Recompile the scripts from within ITP/Server Administrator, and click Save & Apply.
  4. (Only perform this step when using ITP/Server versions prior to 3.2.4, or when using an ITP/MDK Repository version 3.5.9 or earlier)
    Copy the GetModel.exe from an ITP/MDK Repository Client installation to the bin subfolder of the ITP/Server installation.

The AllowRepositoryModelRun constant determines if ITP/OnLine Server will accept model run requests from the ITP/MDK Repository. If not set to 'Y', ITP/Server will deny running models from within the ITP/MDK Repository. By explicitly having to configure an ITP/OnLine Server installation to accept ITP/MDK Repository runs, it can be avoided that ITP/MDK Repository runs are run accidentally or unauthorized on a particular ITP/OnLine Server installation.
The user exit script CheckRepositoryModelAccess.dss is run to check whether a specific user is allowed to run a specific model on ITP/OnLine Server. The default implementation allows all. If you want more restrictive checking, you can implement it by changing this script.