Table 112. Summary of Application Methods for Siebel VB
|
|
|
ActiveBusObject Method for an Application |
Returns the name of the business object of the active view. |
Dim oApplication as Application Dim oBusObject as BusObject Set oBusObject = oApplication.ActiveBusObject
|
ActiveViewName Method for an Application |
Returns the name of the active view. |
Dim oApplication as Application Dim sView as String sView = oApplication.ActiveViewName
|
CurrencyCode Method for an Application |
Returns the currency code that is associated with the division of the user position |
Dim oApplication as Application Dim sCur as String sCur = oApplication.CurrencyCode
|
GetBusObject Method for an Application |
Creates a new instance of a business object. |
Dim oApplication as Application Dim oBusObject as BusObject set oBusObject = oApplication.GetBusObject (busobject as String)
|
GetProfileAttr Method for an Application |
Returns the name of an attribute in a user profile. |
Dim oApplication as Application Dim sAttr as String SAttr = oApplication.GetProfileAttr(name as String)
|
GetService Method for an Application |
Locates a business service. If this business service is not already running, then Siebel CRM starts it. |
Dim oApplication as Application Dim oService as Service set oService = oApplication.GetService(serviceName as String)
|
GetSharedGlobal Method for an Application |
Returns the shared global variables. |
Dim oApplication as Application Dim sName as String sName = Application.GetSharedGlobal(varName as String)
|
GotoView Method for an Application |
Does the following:
- Deactivates any business object, business component, applet, or control that is active.
- Activates a view.
- Activates the primary applet of the view and the business component that this applet references.
- Activates the first tab sequence control of the primary applet
|
Dim oApplication as Application oApplication.GotoView viewName as String[, BusinessObjectName as BusObject]
|
InvokeMethod Method for an Application |
Calls a method. |
Dim oApplication as Application oApplication.InvokeMethod(methodName as String, methArg1, methArg2, methArgN as String or StringArray)
|
LoginId Method for an Application |
Returns the login ID of the user who started the Siebel application. |
Dim oApplication as Application Dim sID as String iID = oApplication.LoginId
|
LoginName Method for an Application |
Returns the login name of the user who started the Siebel application. |
Dim oApplication as Application Dim sUser as String sUser = oApplication.LoginName
|
NewPropertySet Method for an Application |
Creates a new property set. |
Dim oApplication as Application Dim oPropSet as PropertySet oPropSet = oApplication.NewPropertySet
|
PositionId Method for an Application |
Returns the name of the current user position. |
Dim oApplication as Application Dim sRow as String sRow = oApplication.PositionId
|
PositionName Method for an Application |
Returns the name of the current user position. |
Dim oApplication as Application Dim sPosition as String sPosition = oApplication.PositionName
|
RaiseError Method for an Application |
Sends a scripting error message to the browser. To determine the error text, Siebel CRM uses a key to look up the current language. |
Dim oApplication as Application oApplication.RaiseError keyValue as String, param1 as String, ...
|
RaiseErrorText Method for an Application |
Sends a scripting error message to the browser. |
Dim oApplication as Application oApplication.RaiseErrorText message as String
|
SetPositionId Method for an Application |
Sets the active position to a Position Id. |
Dim oApplication as Application oApplication.SetPositionId posId as string
|
SetPositionName Method for an Application |
Sets the active position to a position name. |
Dim oApplication as Application oApplication.SetPositionName posName as string
|
SetProfileAttr Method for an Application |
Sets a value for an attribute in a user profile. |
Dim oApplication as Application oApplication.SetProfileAttr name as String, value as String
|
SetSharedGlobal Method for an Application |
Sets a shared global variable. |
Dim oApplication as Application oApplication.SetSharedGlobal varName as String, value as String
|
Trace Method for an Application |
Appends a message to the trace file. |
Dim oApplication as Application oApplication.Trace message as String
|
TraceOff Method for an Application |
Turns off tracing. |
Dim oApplication as Application oApplication.TraceOff
|
TraceOn Method for an Application |
Turns on tracing. |
Dim oApplication as Application oApplication.TraceOn filename as String, type as String, selection as String
|