Table 31. Application Methods Syntax Summary
|
|
|
ActiveBusObject Method |
Returns the business object for the business component of the active applet. |
Dim application as SiebelWebApplication Dim busObject as SiebelBusObject Set busObject = application.ActiveBusObject
|
ActiveViewName Method |
Returns the name of the active view. |
Dim application as SiebelWebApplication Dim sView as String sView = application.ActiveViewName
|
CurrencyCode Method |
Returns the three-letter operating currency code. |
Dim application as SiebelWebApplication Dim sCur as String sCur = Application.CurrencyCode
|
EnableExceptions Method |
Enables or disables native COM error handling. |
Dim application as SiebelWebApplication application.EnableExceptions(bEnable as Boolean) Call application.EnableExceptions(bEnable as Integer)
|
GetBusObject Method |
Instantiates and returns a new instance of the business object specified in the argument. |
Dim application as SiebelWebApplication Dim busObject as SiebelBusObject set busObject = application.GetBusObject(busobjName as String)
|
GetLastErrCode Method |
Gets the last error code. |
Dim application as SiebelWebApplication Dim iErr as Integer iErr = application.GetLastErrCode
|
GetLastErrText Method |
Returns the last error text message. |
Dim application as SiebelWebApplication Dim sText as String sText = application.GetLastErrText
|
GetProfileAttr Method |
Returns the value of an attribute in a user profile. |
Dim application as SiebelWebApplication Dim profValue as String profValue = application.GetProfileAttr(profName as String)
|
GetService Method |
Instantiates and returns a new instance of the argument-specified service. |
Dim application as SiebelWebApplication Dim oService as SiebelService set oService = Application.GetService(serviceName as String)
|
GetSharedGlobal Method |
Returns the shared user-defined global variables. |
Dim application as SiebelWebApplication Dim name as String name = application.GetSharedGlobal (sName as String)
|
InvokeMethod Method |
Calls the named specialized method. |
Dim application as SiebelWebApplication Dim sReturn as String sReturn = application.InvokeMethod(methodName as String, methodArgs as String or StringArray)
|
LoginId Method |
Returns the login ID of the user who started the Siebel application. |
Dim application as SiebelWebApplication Dim sID as string sID = application.LoginId
|
LoginName Method |
Returns the login name of the user who started the Siebel application. |
Dim application as SiebelWebApplication Dim sUser as String sUser = application.LoginName
|
Logoff Method |
Terminates the Mobile Web Client session. |
Dim application as SiebelWebApplication Dim status as Boolean Status = application.Logoff
|
NewPropertySet Method |
Constructs a new property set object. |
Dim application as SiebelWebApplication Dim propset As SiebelPropertySet set propset = application.NewPropertySet
|
PositionId Method |
Returns the position ID that describes the user's current position. |
Dim application as SiebelWebApplication Dim sRow as String sRow = application.PositionId
|
PositionName Method |
Returns the position name of the user's current position. |
Dim application as SiebelWebApplication Dim sPosition as String sPosition = application.PositionName
|
SetPositionId Method |
Sets the active position to the Position ID specified in the argument. |
Dim application as SiebelWebApplication Dim posId as String Dim status as Boolean status = application.SetPositionId(posId)
|
SetPositionName Method |
Sets the active position to the position name specified in the argument. |
Dim application as SiebelWebApplication Dim posName as String Dim status as Boolean status = application.SetPositionName(posName)
|
SetProfileAttr Method |
Used in personalization to assign values to attributes in a user profile. |
Dim oApplication as SiebelWebApplication Dim bool as Boolean bool = oApplication.SetProfileAttr(name as String, value as String)
|
SetSharedGlobal Method |
Sets a shared user-defined global variable. |
Dim application as SiebelWebApplication Dim bool as Boolean bool = application.SetSharedGlobal(varName as String, value as String)
|
Trace Method |
Appends a message to the trace file. |
Dim application as SiebelWebApplication application.Trace(message as String)
|
TraceOff Method |
Turns off the tracing started by TraceOn. |
Dim application as SiebelWebApplication Dim bool as Boolean bool = application.TraceOff
|
TraceOn Method |
Turns tracing on. |
Dim application as SiebelWebApplication Dim bool as Boolean bool = application.TraceOn(filename as String, type as String, Selection as String)
|