Skip Headers
Oracle® Fusion Middleware Idoc Script Reference Guide
11g Release 1 (11.1.1)

Part Number E10726-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to current chapter
Up
Go to next page
Next
View PDF

getValue

This function has multiple uses:

Retrieves the value of a particular metadata field from local, active, or environment data.

Retrieves the value of a particular column from a specific ResultSet.

Retrieves information about ResultSet rows.

Type and Usage

Parameters

Takes two parameters:

Variations

You can also use a shorthand format that returns results identical to the getValue(arg1,arg2) function. The format uses the form <$arg1.arg2$>, where arg1 and arg2 are the literal string arguments "arg1" and "arg2" to the getValue function.

Note:

Data types (local, active, and env) and ResultSet parameters must start with the # symbol.

The following parameter combinations can be used:

getValue and Shorthand Formats Description
getValue("#local",fieldName)

<$#local.fieldName$>

Retrieves the value of the specified metadata field from the local data.
getValue("#active",fieldName)

<$#active.fieldName$>

Attempts to retrieve the value of the specified metadata field from the data in the following order:
  1. Local data

  2. Active ResultSets

  3. All other ResultSets

  4. Environment settings

getValue("#env",fieldName)

<$#env.fieldName$>

Retrieves the value of the specified metadata field from the environment settings.
getValue(ResultSetName,fieldName)

<$ResultSetName.fieldName$>

Retrieves the value of the specified metadata field from the current row of the specified ResultSet.
getValue(ResultSetName,columnName)

<$ResultSetName.columnName$>

Retrieves the value of the specified column from the current row of the specified ResultSet.
getValue(columnName)

<$columnName$>

Retrieves the value of the specified column from the current row of the current ResultSet.
getValue(ResultSetName,"#row")

<$ResultSetName.#row$>

Retrieves the number of the current row in the specified ResultSet.

The first row is 0.

getValue(ResultSetName,"#numRows")

<$ResultSetName.#numRows$>

Retrieves the total number of rows in the specified ResultSet.
getValue(ResultSetName,"#isRowPresent")

<$ResultSetName.#isRowPresent$>

Checks if at least one row is present in the specified ResultSet.

This is useful when looping manually with rsNext.

getValue(ResultSetName,"#isEmpty")

<$ResultSetName.#isEmpty$>

Checks if the specified ResultSet does not contain any rows.

Output

Example

See Also