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... > HasOriginal
Checks if an original file exists for a revision.
This variable checks for a dOriginalName value.
It is possible for a content item to be checked in but to not have an original file (for example, when a Basic workflow has been started but files have not been checked in at the initial contribution step).
Type and Usage
Output
Returns TRUE if an original file exists.
Returns FALSE if no original file exists.
Example
Checks for an original file:
<$if HasOriginal and not isNew$>