Microsoft Knowledge Base Email Alertz

(329159) - Describes why the Category Assistant does not list documents in the items collection that have been auto-categorized.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











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

On This Page

SYMPTOMS

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.

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.

MORE INFORMATION

Steps to reproduce the problem

  1. Set up the Category Assistant, and then train the Category Assistant.
  2. Manually categorize two documents.
  3. Let the Category Assistant categorize two documents.
  4. 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
Keywords: 
kbprb KB329159
       

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