Business Service Methods for Browser Script

The following table describes a summary of the business service methods you can use in Browser Script.

Method Description Format

GetNextProperty Method for a Business Service

Returns the name of the next property of a business service.

var svc;

var sName = svc.GetNextProperty();

GetProperty Method for a Business Service

Returns the value of a property.

var svc;

var value;

value = svc.GetProperty(name);

InvokeMethod Method for a Business Service

Calls a method on a business service.

var svc = TheApplication().GetService("Business Service");

var inputPropSet = TheApplication().NewPropertySet();

svc.InvokeMethod(methodName, inputPropSet);

Name Method for a Business Service

Returns the name of a business service.

var svc;

var name;

name = svc.Name();

PropertyExists Method for a Business Service

Returns a Boolean value that indicates if the property that the argument identifies exists.

var svc;

var bool;

bool = svc.PropertyExists(name);

RemoveProperty Method for a Business Service

Removes a property from a business service.

var svc;

svc.RemoveProperty(name);

SetProperty Method for a Business Service

Sets a value for a property of a business service.

var svc;

svc.SetProperty(name, value);