AttributeResource values for federated documents
The AttributeResource tag is used as a placeholder to display attributes from a federated documents selection rule within a personalization element design. It cannot be used in a presentation template or other element types.When used with a federated documents selection rule, the following values for the attributeName attribute of the AttributeResource tag are supported for each document in the result set:
id
This attribute displays the unique ID of the document.
title
This attribute displays the title of the document. The actual result depends on the corresponding attribute mapping that needs to exist at the remote content management system. If no such mapping exists, the file name is displayed.
authors
This attribute displays the names of the authors of the document. The actual result depends on the corresponding attribute mapping that needs to exist at the remote content management system. If no such mapping exists, an empty string is displayed.
published
This attribute indicates the point in time of the first availability of the document. The actual result depends on the corresponding attribute mapping that exists at the remote content management system. If no such mapping exists, an empty string is displayed.
updated
This attribute indicates the point in time of the last update to the given document. The actual result depends on the corresponding attribute mapping that exists at the remote content management system. If no such mapping exists, an empty string is displayed.
contentType
This attribute displays the MIME type of the document. If this information is not served by the remote content management system, an empty string is displayed.
contentLink
This attribute displays the absolute URL that can be used to download the document.
viewLink
This attribute displays the absolute URL that can be used to open the given document in context of the remote content management user interface. If no such URL is returned by the remote content management system, an empty string is displayed.
The viewLink attribute is not supported if you are connected to a DB2 Content Manager repository.
size
This attribute displays the size of the document in bytes. If this information is not served by the remote content management system, an empty string is displayed.
Here is an example of how to use these attribute values in a design:
<li> <a target="_blank" href=" [AttributeResource attributeName="contentLink"]"> [AttributeResource attributeName="title"] </a> </li>
Parent
Use a federated documents rule in a personalization component
December 14, 2011
Apr 1, 2011 1:26:17 PM
});