Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 306112 - Last Review: February 28, 2007 - Revision: 2.3
Crawling Custom Metadata Sample Script Appends /* to Content Source URL
This article was previously published under Q306112
This article describes how a sample script named Propmap.wsf creates a site path rule for the content source URL you specify. This script is included in the Crawling Custom Metadata Using Microsoft SharePoint Portal Server 2001 white paper, in the SharePoint Portal Server Resource Kit.
The Propmap.wsf script assumes the content source URL is for a Web site folder, and in the rule the script appends a backslash symbol (/) and an asterisk (*) to the content source URL. If you create a content source that points directly to an HTML Web page and not a Web site, an invalid site path rule is created and property mapping fails.
For example, if you create a content source for http://myserver/default.htm, after you run Propmap.wsf, a site path rule for http://myserver/default.htm/* is created. To work around this behavior, either use a Web site folder for the content source URL (http://myserver) or modify the sample script to handle the scenario where the content source is pointing to a Web page and not a folder name. Do not modify the site path rule the script creates; modifications may result in a property mapping failure.
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