This tag assembles the URI used to locate a particular asset that’s governed by the Version Manager. The attributes you are required to use depend on the type of asset you are working with:
For a
RepositoryItem
, there are two options. If you have access to the item itself, set therepositoryItem
attribute. Otherwise, use thecomponentName
,itemDescriptorName
, anditemId
attributes.For a versioned file, you can use one of two approaches. Use
virtualFile
if you have access to the file itself or specify thecomponentName
andvirtualFilePath
attributes to locate it.For any object for which you are unsure about the data type, you can 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 | Required? |
---|---|---|
| Names the result object to contain the Version Manager URI string. | no |
| The name of the Version Manager. The default value is the | no |
| The component representing the If you specify this attribute, you must also specify | (see the introductory paragraph) |
| The name of the item descriptor used by a file-based asset. If you specify this attribute, you must also specify | (see the introductory paragraph) |
| The ID of the file-based asset. If you specify this attribute, you must also specify | (see the introductory paragraph) |
| The path to the file-based asset stored in ATG 2007.3. If you specify this attribute, you must also specify | (see the introductory paragraph) |
| The | (see the introductory paragraph) |
| The virtual file object. | (see the introductory paragraph) |
| A | (see the introductory paragraph) |