Prepare Master Template run
Preparation of a Master Template run consists of the following steps:
-
Create a new session for the Master Template run.
-
Optionally, store files in the session. This could for example be an XML file holding the data based on which the Master Template should be run.
-
Set the parameters that define the KCM ComposerUI Master Template run.
KCM Core offers a service for each of these steps. Additionally, it offers a service that combines these steps to a single call. Finally, it also offers a service to retrieve a file from a session.
It is also possible to extend the preparation of the Master Template run so that custom information can be stored in the session. This can be done by creating a custom service, which stores additional key/value pairs in the session, and calling this service as an additional step. This information becomes available from all scripts that run in the context of the session, such as the exit point scripts.
Preparation of a Master Template run results in a session identifier. This session identifier can be used to invoke the actual Master Template run by opening the URL from the BA Client:
http://[ host ]:[ port ]/itp/app/[ application ]/modelbegin.aspx?sessionid=[ sessionid ]
See section Parameters (prepared Master Template run) for more information.