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

I have Adobe iFilter installed in SharePoint Foundation 2010, and PDF files are appearing in the search result hits. If you click on the link, it opens the PDF file but not to the correct page where the text match was found.

Is there a way to make search result links open to specific PDF pages?

In other words, the URL in the search result hit would include a: #page=[page number] extension.

share|improve this question

1 Answer 1

Provided that bookmarks are already defined in the PDF documents you would need to employ the Adobe PDF Parameters syntax described here http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf.

Excerpts from the actual document as examples:

URL Examples

URL Limitations

  • Only one digit following a decimal point is retained for float values.
  • Individual parameters, together with their values (separated by & or #), can be no greater then 32 characters in length.
  • You cannot use the reserved characters =, #, and &. There is no way to escape these special characters.
  • If you turn bookmarks off using a URL parameter when a document had previously been saved with bookmarks on, the bookmark scroll-bars are displayed at first, and only disappear once Acrobat obtains enough streamed information to render the full page

As an example on implementing these concepts in a real example see http://www.novolocus.com/2008/05/15/hit-highlighting-inside-adobe-pdfs-using-sharepoint-search/

share|improve this answer
    
Yes, I'm aware that I can put these extensions in myself to make links to specific PDF file pages. But I'm asking if the links that appear on the Sharepoint search results page can be made to point inside PDF documents. –  phugoid Apr 28 '13 at 13:00
    
I believe this link novolocus.com/2008/05/15/… shows how you can reach deep-content, but you still need to change the Core Search Results Web parts yourself –  C. Marius - MVP Apr 28 '13 at 13:07
    
Thanks, Marius. I was expecting some way for the Sharepoint search engine to decide which page you should jump to in the PDF file. The link you shared gives a very different approach to this problem. I might end up using this! But for now, I want to see if there are any other solutions. I would upvote your answer, but by karma is below threshold. –  phugoid Apr 28 '13 at 14:00
    
These are complementary solutions, as the 2nd is simply relying on explanations provided in my answer (i've updated to include this too). –  C. Marius - MVP Apr 28 '13 at 14:25
    
Do you think there's a way of getting the PDF page number where Sharepoint found the hit, and using it in the template? That would use your solution idea to get the result I'm looking for... –  phugoid Apr 28 '13 at 14:32

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.