The Documents resource collection

 

+

Search Tips   |   Advanced Search

 

The Documents resource collection is installed and configured out of the box. This pre-defined collection allows us to write rules which select lists of documents from Document Manager. Rules specify which documents to show either in a Portal Personalization component in IWWCM , or in a Personalization list portlet configured to show that rule.

The Documents collection allows rules based on the following attributes:

Attribute Description
Creation date Date the document was created.
Creator Person who first created this document in Document Manager. The value of this attribute is stored as a 'distinguished name', for instance, uid=wpsadmin,o=Default Organization.
Description Description provided for the document in Document Manager.
Folder path Path to the folder in Document Manager. The path here includes the Document Library. To select all Documents in a document library called "CustomerDocs", you would write a condition such as...

Folder path is CustomerDocs

To select all Documents in an "Example" folder in a "CustomerDocs" library, you would write a condition such as...

Folder path is CustomerDocs/Example

Notes:

  • The JCR syntax for the path as exposed in 5.1.x is still supported in order to support rules authored in 5.1.x, which made use of this undocumented syntax, but this usage is deprecated in favor of the more readable doclib/folder/folder style syntax.

  • The starts with and includes operators operate on path segments. For example, /Portal/Personalization starts with Portal is true, but /Portal/Personalization starts with /Portal/Pers is false, because there is no folder called 'Pers'.
Full text Use this attribute to search the full text of a document for some phrase. It should be used sparingly. This attribute may not perform as as other attributes when used in rules, especially when used in conjunction with other attributes.
Language The language code of the document as specified in Document Manager, as in "en" for English or "fr" for French.
Last modified date Date a modification last occurred on the document.
Last modifier The last person to modify the document. The value of this attribute is stored as a 'distinguished name', for instance, uid=wpsadmin,o=Default Organization.
Name The name of the document; for example, MyDocument.txt as opposed to its title, My Document.
Publish date Date that this document was published in Document Manager and was no longer in draft state
Title The title given to this document in Document Manager.

All attributes which store a reference to a person are stored as distinguished names. This format will match against the value of the Distinguish Name attribute on the Portal User resource collection. For instance, to select all documents authored by the user viewing the portlet, you would write,...

Author is current Portal Users.Distinguished Name