WebSphere

 

Portal Express, Version 6.0
Operating systems: i5/OS, Linux, Windows

 

The Documents resource collection

The Documents resource collection is installed and configured out of the box. This pre-defined collection allows you to write rules which select lists of documents from Document Manager. Rules specify which documents to show either in a Portal Personalization component in IBM® Workplace Web Content Management™, 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 The date the document was created.
Creator The 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 The description provided for the document in Document Manager.
Folder path The 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 quickly 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 The 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 The 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.
Unique Identifier Use this attribute to select documents.

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".

 

Parent topic:

Using rules