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

When editing the XSLT for the search results web part I'd like to know when the result represents a document or, for that matter, a list item and then.. I'd like to be able to display a link to the library rather than only deep-linking directly to the document.

Do you think that a substring with last-index-of ("/") XSLT would be the best way to omit the document-name itself from the search results so that you can send someone to the document library or folder where the search result resides?

share|improve this question

1 Answer 1

Matthew McDermott posted some XSLT scripts, including one that does this, on CodePlex here: http://sctxsl.codeplex.com/releases/view/12070

share|improve this answer
    
Thanks kindly.. I'll check it out. –  Anonymous Jul 29 '10 at 14:26

Your Answer

 
discard

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