Overview of Application Methods

An application method is a predefined method that returns the current Siebel application object instance:

  • TheApplication, if called from Siebel VB that resides in the Siebel runtime repository

  • TheApplication(), if called from Siebel eScript that resides in the Siebel runtime repository

  • theApplication(), if called from Browser Script that resides in the Siebel runtime repository

Note the following:

  • If an application method applies to only one scripting language, then the Syntax definition in the method includes one of these methods.

  • If a method applies to an external interface or to more than one scripting language, then it must use more than one format. In this situation, the Syntax definition includes Application and results in the following situation:

    • If you use Siebel VB, Siebel eScript, or Browser Script, then Siebel CRM substitutes the applicable statement for Application

    • If you use an external interface, then Siebel CRM substitutes the name of an application instance for Application

Some examples in this chapter include an Application method that uses an external interface. These examples use SiebelApplication as the application instance. The examples assume that the script starts an instance of the Siebel application. This situation is true even if the example does not include the code that starts this instance.