SetSharedGlobal Method for an Application
The SetSharedGlobal method sets a shared global variable that your code can access with the GetSharedGlobal method. The SetSharedGlobal method does not return any information.
Format
Application.SetSharedGlobal(varName, value)
SetSharedGlobal Method for an Application describes the arguments for the SetSharedGlobal method.
Argument | Description |
---|---|
varName |
String variable or literal that contains the name of the shared global variable that Siebel CRM must set. |
value |
String variable or literal that contains the value of the shared global variable. |
Used With
COM Data Control, COM Data Server, Mobile Web Client Automation Server, Server Script
Examples
The following example is for the Component Object Model (COM):
comVar = SiebelApplication.GetSharedGlobal("myVar", errCode)
SiebelApplication.SetSharedGlobal "myVar", "BLAH", errCode
The following example is in Siebel VB:
TheApplication.SetSharedGlobal "myVar", "FOO"
myVar = TheApplication.GetSharedGlobal("myVar")
The remaining examples for using the SetSharedGlobal method are the same as the examples for using the GetSharedGlobal method. For more information, see Example of Using the GetSharedGlobal Method in GetSharedGlobal Method for an Application.