A problem occurs when you add the SearchMetaTagGenerator control to a template in Content Management Server 2002 Connector for SharePoint Technologies (872932)



The information in this article applies to:

  • Microsoft Content Management Server 2002 Connector for SharePoint Technologies

SYMPTOMS

A problem occurs when you add the SearchMetaTagGenerator control to a template, and then you set the PropertyType property to PropertiesFromXMLFile. After you add the SearchMetaTagGenerator control, only the standard properties appear when you view the meta tag that is generated by the SearchMetaTagGenerator control. The custom properties that you add to the SearchPropertyCollection.xml file do not appear. This problem occurs in Microsoft Content Management Server 2002 Connector for SharePoint Technologies.

CAUSE

The Help document for Content Management Server 2002 Connector for SharePoint Technologies incorrectly describes how to modify the SearchPropertyCollection.xml file. The Help document omits the PropertyName attribute in the element for each custom property. The PropertyName attribute is required.

RESOLUTION

To resolve this problem, add the following code example to the SearchPropertyCollection.xml file.
<PropertyDefinition
		  uri="urn:schemas.microsoft.com:htmlinfo:metainfo:<custom property name>"
		  type="string" name="<custom property display name>"
		  PropertyName="<custom property display name>" indexable="1"
		  retrievable="1" />
You want to add the previous code example for each custom property that you want the SearchMetaTagGenerator control to output to.

Note The SearchPropertyCollection.xml file is at the following location:

<InstallDrive>:\Program Files\Microsoft Content Management Server\Server\IIS_CMS\WssIntegration\SearchPropertyCollection.xml file

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Modification Type:MinorLast Reviewed:11/15/2004
Keywords:kbtshoot kbprb KB872932 kbAudDeveloper