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... > dpPromote
Function used to 'promote' values from a rule evaluation context into the request context. After the evaluation of all rules, the key and value specified by this function are pushed into the local data.
Type and Usage
Parameters
This function takes two parameters:
The first parameter is the designation for the value to be returned.
The second parameter is the value to be returned.
Example
This example changes the value for AutoNumberPrefix for one request to be the value for dDocType:
<$dpPromote("AutoNumberPrefix", dDocType)$>
This example causes the Title field to be hidden on checkin pages:
<$dpPromote("dDocTitle:isHidden", "1")$>
See Also