Tags

, ,

MSDN has a good tutorial on how you can

  • Add the custom property to the search query.

  • Modify the XSLT transformation (XSLT) to display the custom property.

One the most important thing is the property name in your XSLT need to be lowercase!!! I only find out when I view the XML results by replacing the XSLT as

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<xmp><xsl:copy-of select="*"/></xmp>
</xsl:template>
</xsl:stylesheet>
Here is also some good examples how you can add the managed property by PowerShell that
help me to find out if properties are set up right.
Advertisements