viewerUrl
The viewerUrl tag provides the URL to a given piece of
content,
represented by DocumentSearchInfo object
This tag contains the following attributes:
-
contextualizedChild
- A object. If specified, the preview rendition of this contextualized child will be used.
-
portal
- The object. If not specified, there must be a ${portal} attribute in scope.
-
scope
- The scope of the @var attribute. Valid values are
"page" and "request".
- Required: false
- Type: String
- Default: "request"
-
searchResult
- The object. This data is placed into the model of the searchResults.ftl page and returned by <@td.Search> and <@td.groupSearch> tags. If not specified, there must be a ${doc} variable storing a object in scope.
-
url
- The of the item. If context information is provided via other attributes, it will override any context information in this object.
-
urlQuery
- The query string. This value will NOT be URL-encoded, so it
should be encoded already. You can also use nested <@td.urlParam> tags
to specify individual URL parameters in a URL-escaped way.
- Required: false
- Type: String
- Default: none
-
urlString
- The of the item.
If context information
is
provided
via other attributes, it will override any
context
information in this
object.
- Required: false
- Type: String
- Default: none
-
var
- The name of the variable used to access the result.
- Required: false
- Type: String
- Default: none
This tag contains the following attributes.