Siebel Interactive Designer API Reference > Siebel-Specific Functions >

SendSelectionInformationToServer


Usage

Use the SendSelectionInformationToServer function to post specified data to a business service and method.

NOTE:  To use this function, you need to write a business service and a method on that service.

You can use this function to create a variety of integration points with other applications as follows:

Syntax

SendSelectionInformationToServer(service, method, prodStr, enableLinkback, optArgs)

Argument
Description
service
Name of the Business Service to be executed.
method
Method to be used on the business service.
prodStr
Product string describing the product. Use null, without quotes around it, to specify that no product string should be sent. Use "auto" to automatically extract the product string. prodStr is added automatically when you choose to use it in the other arguments. Do not set it manually.
enableLinkback
Boolean value specifying whether to build a linkback string used for restoring state. If "true," constructs and passes the appropriate linkback string. If "false," takes no action. The linkback string gets added automatically when you choose to use it in the other arguments. It should not be set manually.
optArgs
Object including at least the following special fields: prodStr and linkBackStr. Any additional data should be included as fields in this object as a string or number. This data will be associated with the field name when sent to the method.

Example

To send the model and year of your car along with product and state information, call the function as follows:

var optArgs = new Object();
optArgs["carModel"] = "Sedan";
optArgs["Year"] = 99;
ISS.SendSelectionInformationToServer("myService", "myMethod", "auto", true, optArgs);

This call will automatically extract product information from the data model since auto is true. It will also create a linkback string for the current state of the pageset. The linkback string can then be used to open the pageset in this state.


 Siebel Interactive Designer API Reference 
 Published: 18 April 2003