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.

  • which version of sharepoint you have 2010 or 2013? – Amal Hashim Oct 23 '14 at 13:05
  • I'm using sharepoint 2010 – user1898765 Oct 23 '14 at 14:03
  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"/>
  • thanks for your proposition but how to edit OSSSearchResults.aspx? – user1898765 Oct 23 '14 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 – Amal Hashim Oct 23 '14 at 18:04
  • when i open xsl editor, it's empty – user1898765 Oct 24 '14 at 7:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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