This tag assembles the URI used to locate a particular asset that is governed by the VersionManager
. The attributes that are required depend on the asset type:
RepositoryItem
: If you have access to the item itself, set therepositoryItem
attribute. Otherwise, use thecomponentName
,itemDescriptorName
, anditemId
attributes.Versioned file: Use
virtualFile
if you have access to the file itself or specify thecomponentName
andvirtualFilePath
attributes to locate it.Any object whose data type is unknown: set the
object
attribute.
After the tag is executed, the resultant URI is stored in a result object named by the var
attribute. If var
is not specified, the URI string is sent to the page’s output stream.
Attributes
The following attributes are defined for the pws:createVersionManagerURI
tag:
Attribute | Description |
---|---|
| (optional) Names the result object to contain the |
| (optional) The name of the |
| The |
| The component that represents the RepositoryItem or virtual file. If you specify this attribute, you must also specify the following attributes: either |
| A file-based asset’s item descriptor name and item ID. These attributes must be used with |
| The path to the file-based asset stored in ATG. This attribute also requires the attribute |
| The virtual file object, used for a versioned file if you have access to the file itself; otherwise, use attributes |
| A |