Defining Server Initialization Code
Defining Server Initialization Code
To define server initialization code:
-
Place a valid ObjectScript statement in the ^DeepSee.InitCode global.
For example, do the following in the Terminal:
set ^DeepSee.InitCode="do ^myroutine"
-
Make sure that the code does not write any output to the current device.
-
Also make sure that it does not kill any % variables required by InterSystems IRIS.
This code is called by the %RunServerInitCode() method of %DeepSee.UtilsOpens in a new tab. This method is called whenever an InterSystems IRIS Business Intelligence session is created.