Common Shell Properties

Common shell property accessors are defined for all contexts.

Shell.RESTTimeout()

int (input). The timeout value used during REST calls. To override the default value (30 seconds), you must add a new entry to the TS_SYSTEMSETTINGS table called DefaultRESTTimeout with TS_DATATYPE set to 1 and specify the desired timeout in the TS_LONGVALUE column.

Shell.ScriptName()

string (input). The script's name as stored in the database and shown in the Scripts editor in SBM Composer.

Shell.ScriptId()

int (input). This is the script's TS_ID. For details on the TS_ID, refer to Identifying Records by TS_ID and Table ID.

Shell.ScriptFileName()

string (input). This is the file name from which the script was most recently read and parsed.

Shell.Context()

string (input). Identifies the current context. Possible values are pre-transition, post-transition, pre-state, post-state, HTML template, URL, notification, self registration, pre-DbImport, post-DbImport, and RunModScript (SOAP). For details on contexts, refer to SBM ModScript Contexts.

Shell.Db()

AppDb object (input). The current SBM database object. It provides global data related to the SBM database.

Related Topics

Shell Property Descriptions

Shell Properties by Context