Items collection of the CDO.KnowledgeCategoryFolder object does not list auto-categorized documents (329159)
The information in this article applies to:
- Microsoft SharePoint Portal Server 2001
This article was previously published under Q329159 SYMPTOMSWhen you set up the Category Assistant to auto-categorize documents, the documents that are categorized by this process do not appear in
the items collection. This problem occurs when you use the CDO.KnowledgeCategoryFolder object to list items that are linked to a particular category.CAUSE When you manually categorize documents, you are essentially
setting the urn:schemas-microsoft-com:publishing:Categories property of the document. However, when you use the Category
Assistant, it sets the urn:schemas-microsoft-com:publishing:AutoCategories property. The urn:schemas-microsoft-com:publishing:AutoCategories property is only available by using a search.
The CDO.KnowledgeCategoryFolder object only lists documents that have the urn:schemas-microsoft-com:publishing:Categories property set. Therefore, the CDO.KnowledgeCategoryFolder object does not list the documents that are auto-categorized by Category Assistant.RESOLUTION Instead of using the CDO.KnowledgeCategoryFolder object to list items and to verify what documents belong to a particular
category, you have to do a search. In the where clause, look for a match in
the category name for the following two properties: - urn:schemas-microsoft-com:publishing:AutoCategories
- urn:schemas-microsoft-com:publishing:Categories
This returns all the categorized documents. The Web Folder view of the Category folder does this and shows all the categorized
documents. STATUS This
behavior is by design.
Modification Type: | Major | Last Reviewed: | 5/7/2004 |
---|
Keywords: | kbprb KB329159 kbAudDeveloper |
---|
|