Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 329159 - Last Review: May 7, 2004 - Revision: 1.2
Items collection of the CDO.KnowledgeCategoryFolder object does not list auto-categorized documents
This article was previously published under Q329159
When 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.
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.
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.
This
behavior is by design.
Steps to reproduce the problem
- Set up the Category Assistant, and then train the Category Assistant.
- Manually categorize two documents.
- Let the Category Assistant categorize two
documents.
- Use the CDO.KnowledgeCategoryFolder object to open the Category folder and to list the items.
Notice that the two items that are categorized by the Category
Assistant are not listed.
APPLIES TO
- Microsoft SharePoint Portal Server 2001
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate