Oracle® Fusion Middleware Idoc Script Reference Guide 11g Release 1 (11.1.1) E10726-01 |
|
Previous |
Next |
Home > Idoc Script Reference Guide > Management and Configuratio... > getFieldViewValue
This function is used when defining a content rule for a field. The value of a field for a content profile can be made dependent on a view by using this function. Because a field can have both a default and a derived value, the view can be used to create an interdependency between fields.
Type and Usage
Parameters
Takes three parameters:
Field. The name of a metadata field. This field must have an associated view.
Value. A lookup key for value.
Column name. A column in the view's table.
Output
Returns the value in the column specified using the field value as a lookup.
Example
In the following example, the view table for the field xEmployee
has a column called type
. Using the value as specified in the xEmployee
metadata field, this function provides a lookup into this table and returns the type
column value.
getFieldViewValue("xEmployee", #active.xEmployee, "type")