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... > docLoadResourceIncludes
Loads all the includes in a specified content item for use in the display of the current page.
The content item specified must have the file extension idoc.
This function sets StatusCode as a side effect. Use the abortToErrorPage function if the specified file must successfully load for the page to correctly display.
Type and Usage
Parameters
Takes a CGI-encoded parameter list that specifies a content item that is checked into the Content Server. The parameter options are listed in the following table.
Optional Parameters | Description |
---|---|
dID | If dID is not present, dDocName and RevisionSelectionMethod must be present. A rendition of the revision of the content item with this ID will be returned, if it exists, and the RevisionSelectionMethod parameter does not exist or has the value Specific. |
dDocName | It is recommended that dDocName be present in all requests for content items where the dDocName is known. Error messages assume that it is present, as do other features such as forms.
|
RevisionSelectionMethod | If present, dDocName must be present. The value of this variable is the method used to compute a dID from the specified dDocName. The value may be Specific, Latest, or LatestReleased.
|
Rendition |
|
Note: When used in .hcsp pages, the ampersand (&) character in the CGI-encoded parameter list must be changed to the & character. |
Output
None.
Example
Loads the resource includes in the primary vault rendition of the latest revision of mydoc.
<$docLoadResourceIncludes("dDocName=mydoc&RevisionSelectionMethod=Latest")$>
See Also