Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

We are running a SharePoint 2010 installation that, among other things, hosts internal documents. These documents are stored via a Document Library and are served out on individual pages via Content Query Webparts. The links for these documents are the titles as dictated by the document library (NOT the metadata title of the document itself). In addition to this, we have setup a basic search center. The problem we are running into is that when users search for documents, the results display the metadata title of the document instead of its document library title resulting in links that don't match between pages.

My question is this: How can we have the search results display the document title as dictated by the document library? Or, alternatively, is there an easy way to copy the document library title to the metadata document title?

share|improve this question
add comment

2 Answers 2

up vote 0 down vote accepted

FYI I had the same exact issue, with both 2003 and 2007 documents, and the fix in this blog post did the trick:

http://sajiviswam.wordpress.com/2011/03/30/incorrect-search-result-title-for-word-2007-documents-in-sharepoint-2010-search/

share|improve this answer
    
That's brilliant. I wish we would have known that workaround before we implemented. Thanks! –  Psycho Bob Jun 6 '11 at 16:27
add comment

Essentially you need to modify the XSLT used to display the search results. If you edit the search results page in your search centre you will see a web part called Search Core Results. This is the web part responsible for rendering the search results via XSLT.

There are plenty of articles out there on how to do this, just google 'Customizing SharePoint 2010 Search Results'

share|improve this answer
    
Is there already a fetched property for the document list titles? Or will I have to define something somewhere for it? And if so, how? –  Psycho Bob Sep 13 '10 at 14:16
add comment

Your Answer

 
discard

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.