Skip Headers
Oracle® Fusion Middleware Idoc Script Reference Guide
11g Release 1 (11.1.1)
E10726-01
  Go To Documentation Library
Library
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next
 

docLoadResourceIncludes

Loads all the includes in a specified content item for use in the display of the current page.

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.
  • If dDocName is not present, dID must be present and RevisionSelectionMethod must not be present.

  • If RevisionSelectionMethod is present, a rendition of a revision of the content item with this name with be returned, if it exists.

  • If RevisionSelectionMethod is not present, dDocName may be used in error messages.

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.
  • Specific: The dDocName is ignored, dID is required and is used to get a specific revision.

  • Latest: The latest revision of the content item (including revisions in a workflow) is used to compute the dID.

  • LatestReleased: The latest released revision of the content item is used to compute the dID.

Rendition
  • If not present, Rendition defaults to Primary. This parameter specifies the rendition of the content item.
  • If the value is Primary, Web, or Alternate, the primary, web-viewable, or alternate rendition of the selected revision is returned.



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