Siebel Object Interfaces Reference > Browser Scripting >

Business Service


Table 72 lists a summary of the Business Service Methods syntax.

Table 72.  Business Service Methods Syntax Summary
Method
Description
Syntax
Retrieves the name of the first property of a business service.

var svc;
var sName = svc.GetFirstProperty();

Once the name of the first property has been retrieved, retrieves the name of the next property of a business service.

var svc;
var sName = svc.GetNextProperty();

Retrieves the value stored in the specified property.

var svc;
var value;
value = svc.GetProperty(name);

Calls a specialized method or a user-created method on the business service.

var svc;
var oPropSet =theApplication().NewPropertySet();
oPropSet = svc.InvokeMethod(methodName, inputPropSet);

Returns the name of the business service.

var svc;
var name;
name = svc.Name();

Returns a Boolean value indicating whether the property specified in the argument exists.

var svc;
var bool;
bool = svc.PropertyExists(name);

Removes a property from a business service.

var svc;
svc.RemoveProperty(name);

Assigns a value to a property of a business service.

var svc;
svc.SetProperty(name, value);

Table 73 lists a summary of the Business Service Events syntax.

Table 73.  Business Service Events Syntax Summary
Method
Description
Syntax
Called when a business service is accessed.

Service_InvokeMethod(methodName,input, output);

Called before the PreInvokeMethod, allowing the developer to determine whether or not the user has the authority to invoke the business service method.

Service_PreCanInvokeMethod (methodName)

Called before a specialized method is invoked on a business service.

Service_PreInvokeMethod(methodName, inputPropSet,outputPropSet);


 Siebel Object Interfaces Reference 
 Published: 18 June 2003