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.
  • Required: false
  • Type:
  • Default: none
portal
The object. If not specified, there must be a ${portal} attribute in scope.
  • Required: false
  • Type:
  • Default: The object on the current page
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.
  • Required: false
  • Type:
  • Default: object stored in a variable called ${doc}
url
The of the item. If context information is provided via other attributes, it will override any context information in this object.
  • Required: false
  • Type:
  • Default: none
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.

Name Description Required Type Default
contextualizedChild A object. If specified, the preview rendition of this contextualized child will be used. false none
portal The object. If not specified, there must be a ${portal} attribute in scope. false The object on the current page
scope The scope of the @var attribute. Valid values are "page" and "request". false String "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. false object stored in a variable called ${doc}
url The of the item. If context information is provided via other attributes, it will override any context information in this object. false none
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. false String none
urlString The of the item. If context information is provided via other attributes, it will override any context information in this object. false String none
var The name of the variable used to access the result. false String none