Table 150. Summary of Application Methods for the Mobile Web Client Automation Server
|
|
|
ActiveBusObject Method for an Application |
Returns the name of the business object that the active view references. |
Dim application as SiebelWebApplication Dim busObject as SiebelBusObject Set busObject = application.ActiveBusObject
|
ActiveViewName Method for an Application |
Returns the name of the active view. |
Dim application as SiebelWebApplication Dim sView as String sView = application.ActiveViewName
|
CurrencyCode Method for an Application |
Returns the currency code that is associated with the division of the user position. |
Dim application as SiebelWebApplication Dim sCur as String sCur = Application.CurrencyCode
|
EnableExceptions Method for an Application |
Enables or disables native COM error handling. |
Dim application as SiebelWebApplication application.EnableExceptions(bEnable as Boolean)
|
GetBusObject Method for an Application |
Creates a new instance of a business object. |
Dim application as SiebelWebApplication Dim busObject as SiebelBusObject set busObject = application.GetBusObject(busobjName as String)
|
GetLastErrCode Method for an Application |
Returns the error code for the error that Siebel CRM logged most recently. |
Dim application as SiebelWebApplication Dim iErr as Integer iErr = application.GetLastErrCode
|
GetLastErrText Method for an Application |
Returns the text message for the error that Siebel CRM logged most recently. |
Dim application as SiebelWebApplication Dim sText as String sText = application.GetLastErrText
|
GetProfileAttr Method for an Application |
Returns the name of an attribute in a user profile. |
Dim application as SiebelWebApplication Dim profValue as String profValue = application.GetProfileAttr(profName 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 application as SiebelWebApplication Dim oService as SiebelService set oService = Application.GetService(serviceName as String)
|
GetSharedGlobal Method for an Application |
Returns the shared global variables. |
Dim application as SiebelWebApplication Dim name as String name = application.GetSharedGlobal (sName as String)
|
InvokeMethod Method for an Application |
Calls a method. |
Dim application as SiebelWebApplication application.InvokeMethod(methodName as String, methArg1, methArg2, methArgN as String or StringArray)
|
Login Method for an Application |
Allows external applications to log in to the Mobile Web Client Automation Server. |
Dim application as SiebelWebApplication Dim sErr as String sErr = application.Login(connectString as String, userName as String, password as String)
|
LoginId Method for an Application |
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 for an Application |
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 for an Application |
Disconnects the Siebel client from the Siebel Server. |
Dim application as SiebelWebApplication Dim status as Boolean Status = application.Logoff
|
NewPropertySet Method for an Application |
Creates a new property set. |
Dim application as SiebelWebApplication Dim propset As SiebelPropertySet set propset = application.NewPropertySet
|
PositionId Method for an Application |
Returns the position ID of the user position. |
Dim application as SiebelWebApplication Dim sRow as String sRow = application.PositionId
|
PositionName Method for an Application |
Returns the name of the current user position. |
Dim application as SiebelWebApplication Dim sPosition as String sPosition = application.PositionName
|
SetPositionId Method for an Application |
Sets the active position to a Position ID. |
Dim application as SiebelWebApplication Dim posId as String Dim status as Boolean status = application.SetPositionId(posId)
|
SetPositionName Method for an Application |
Sets the active position to a position name. |
Dim application as SiebelWebApplication Dim posName as String Dim status as Boolean status = application.SetPositionName(posName)
|
SetProfileAttr Method for an Application |
Personalization uses this method to set a value for an attribute in a user profile. |
Dim oApplication as SiebelWebApplication Dim bool as Boolean bool = oApplication.SetProfileAttr(name as String, value as String)
|
SetSharedGlobal Method for an Application |
Sets a shared global variable. |
Dim application as SiebelWebApplication Dim bool as Boolean bool = application.SetSharedGlobal(varName as String, value as String)
|
Trace Method for an Application |
Appends a message to the trace file. |
Dim application as SiebelWebApplication application.Trace(message as String)
|
TraceOff Method for an Application |
Turns off tracing. |
Dim application as SiebelWebApplication Dim bool as Boolean bool = application.TraceOff
|
TraceOn Method for an Application |
Turns on tracing. |
Dim application as SiebelWebApplication Dim bool as Boolean bool = application.TraceOn(filename as String, type as String, Selection as String)
|