Oracle® Fusion Middleware Idoc Script Reference Guide 11g Release 1 (11.1.1) E10726-01 |
|
Previous |
Next |
Home > Idoc Script Reference Guide > Core Content Server Variabl... > getFieldViewDisplayValue
Returns the display value for an item in a Schema option list.
For example, assume an option list exists for a custom metadata field named Customer
. In the database there is a schema table with the CustomerName
and a unique CustomerID
. On checkin the CustomerName
is visible to the user but the CustomerID
is what is stored in the database. The getFieldViewDisplayValue
function extracts the human-readable CustomerName
based on the CustomerID
.
Type and Usage
Parameters
Takes three parameters:
The first parameter is the name of the field to be used for the option list.
The second parameter is the name of the schema view used for the current field.
The third parameter is the value assigned to the field.
Output
Returns the display value.
Example
<$customerName = getFieldViewDisplayValue("xCustomer", "Customer_View", "1234")$>