1

I would like to know if there is a way to display the "Name" of the document in place of the title in the search result panel?

I am using Search Core Results Web Part.

I saw a post to modify xslt in result query option but there is no suitable field to display the Name.

2
  • which version of sharepoint you have 2010 or 2013? Commented Oct 23, 2014 at 13:05
  • I'm using sharepoint 2010 Commented Oct 23, 2014 at 14:03

1 Answer 1

0
  1. Edit Page
  2. Edit Search Core Result Properties
  3. Display Properties -> Uncheck "Use Location Visualization"
  4. Click on button "XSL Editor..."
  5. In the new window search for

    <xsl:value-of select="@title"/>
    
  6. Replace that with

    <xsl:value-of select="@name"/>
    
3
  • thanks for your proposition but how to edit OSSSearchResults.aspx? Commented Oct 23, 2014 at 18:01
  • 1
    I would say you create a separate page. Then add Search Core Result Webpart and use that. You also need to modify your Search Box property so that it will send the results to the new page you are going to create Commented Oct 23, 2014 at 18:04
  • when i open xsl editor, it's empty Commented Oct 24, 2014 at 7:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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