Siebel Object Interfaces Reference > Browser Scripting >

Business Service Methods for Browser Script


Table 78 lists a summary of the business service methods' syntax.

Table 78. Business Service Methods Syntax Summary
Method
Description
Syntax

GetFirstProperty Method

Retrieves the name of the first property of a business service.

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

GetNextProperty Method

After 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();

GetProperty Method

Retrieves the value stored in the specified property.

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

InvokeMethod Method

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

var svc = TheApplication().GetService("Business Service");
var inputPropSet = TheApplication().NewPropertySet();
svc.InvokeMethod(methodName, inputPropSet);

Name Method

Returns the name of the business service.

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

PropertyExists Method

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

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

RemoveProperty Method

Removes a property from a business service.

var svc;
svc.RemoveProperty(name);

SetProperty Method

Assigns a value to a property of a business service.

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

Siebel Object Interfaces Reference Copyright © 2008, Oracle. All rights reserved.