Siebel Advisor API Reference > Data Access Functions for Siebel Advisor >

GetInputValue


Usage

Use the GetInputValue function to return the index of the current selection for a Feature table in the input state.

For example, in a list box UI control, the items are pulled from the description field in a Feature table. When a user selects a description, they are really selecting the corresponding row in the Feature table. This function returns the index that identifies the row.

The index is different than the code. The index is the row number. The index is 0-based.

Function is most often used writing custom code for creating custom input UI controls.

Call this function while a product is actively being configured. Do not call this function when no product has been selected (for example, right after the application starts).

Syntax

GetInputValue(featureTableName)

Argument
Description

featureTableName

Name of the Feature table.

Example

If the SIZE input UI control choices are Small, Medium, and Large, and the current UI control selection is Large, the following sample code returns 2:

var selection = ISS.GetInputValue("SIZE");

Related Topics

SetInputValue.

Siebel Advisor API Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.