SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to modify the core search results webpart in SP2010. Ive created a managed property named: ExternalContactsCompany

I then added a <Column name="ExternalContactsCompany"/> section to the fetched properties inside the webpart properties.

Next i added the following XSL:

TEST <xsl:value-of select="externalcontactscompany"/>

All i can see is "TEST". The last part is not showing anything.

And yes, the column is filled !

share|improve this question
where/how would i customize/style the layout of the results once I implement this solution? – user16003 Mar 30 '13 at 20:07
up vote 3 down vote accepted

Replace your XSLT with the following piece of code (don't forget to backup ;))

<xsl:stylesheet version="1.0" 
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> 
<xsl:template match="/"> 
  <xmp><xsl:copy-of select="*"/></xmp> 

Publish the page and verify which XML is available from the search engine. If the column "ExternalContactsCompany" is not available - you do something wrong.

share|improve this answer
This isn't realy an answer to my question. But it helped me to find the solution. – Frederik Oct 27 '11 at 12:26
Fredrik, if the answers to the problem was something else, please share it. You're allowed to answer your own question :) – Eugene Katz Oct 27 '11 at 13:16
The xslt mentioned by Sven showed me the full XML. This way we saw that the property was empty. We checked the setting on the managed property "‘Reduce storage requirements for text properties by using a hash for comparison" and then my value wasn't empty anymore ! – Frederik Oct 27 '11 at 13:43

I wrote in my blog a guide to create a new crawlable property and a guide to modify the xsl that display the results list:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.