Common Shell Properties

Common shell properties are defined for all contexts.

Shell.ScriptName

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

Shell.ScriptId

long integer (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. For details on contexts, refer to SBM AppScript 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