question

helloworldfromed avatar image
0 Votes"
helloworldfromed asked JeffDaughton-6144 commented

How to open a PDF file in directly in PDF Viewer instead of in SharePoint?

Hello, i apologize if the title is confusing.

So, whenever users open a PDF file, it's opened in SharePoint first regardless of the 'Site Collection Features' setting for 'Open in Browser'.

When a user selects a file, only way that person can open in PDF Viewer on Chrome is if they select the below 'Open in Browser' button after the file is opened in SharePoint.

27704-image.png





Is there anyway to change this so whenever a user opens a PDF file uploaded in SharePoint, it will opened up in PDF Viewer in Chrome directly?

Thank you

office-sharepoint-online
image.png (12.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

trevorseward avatar image
1 Vote"
trevorseward answered rpodric commented

You would need to develop your own file handler. Otherwise, it will be handled by SharePoint or if you integrate something like Adobe Document Cloud, opened by Doc Cloud (which is still in the browser, but Adobe's service instead).

In essence, no PDF application out there (such as Adobe Reader) implements a Chrome plugin to automatically open in the desktop application. Chromium-based browsers will always have the PDF open in the browsers' renderer. Adobe provides a plugin for Chromium browsers that allows you to then click and open it in the desktop, but that's not quite applicable in this case.

So, until a company like Adobe, Foxit, etc. produce a handler that allows for registration and opening in the desktop application, we're a bit out of luck here.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

There are already numerous browser extension that do this. For some reason the OneDrive/SharePoint sites ignore them.

1 Vote 1 ·
rpodric avatar image rpodric HendrixJesslyn-7742 ·

Wading through extensions is a lot of fun, but does one reputable one jump out? It appears that the Adobe one is on-prem SP only:
https://helpx.adobe.com/acrobat/kb/sharepoint-chrome-integration.html

0 Votes 0 ·
WendyLi-MSFT avatar image
0 Votes"
WendyLi-MSFT answered BrandonBierer-0449 commented

@EdwardKim-1648 I could reproduce this issue on my SharePoint environment, and it seems to be by default.

Except the method you mentioned above (“open in browser” from the SharePoint PDF Viewer Page), here are other suggestions for you:
1. Select the PDF file and select “Open in browser” in the ribbon:
27909-microsoftteams-image.png
2. Select ellipsis next to the file name and Select “Open”->”Open in browser”:
27890-microsoftteams-image-1.png



If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks, i thought this would be handy but i guess a member don't like this either...

I honestly think he/she is trying to just give me hard time now smh. I'm gonna respond this accordingly

0 Votes 0 ·

@EdwardKim-1648 If an answer helps you, please remember to accept it as answer via the "Accept Answer" button. :)

0 Votes 0 ·

This is not useful because we need the ability to click on a SharePoint link and have it open directly in Adobe Pro. The browser PDF viewers is almost completely useless for business and professional needs. Currently I have about 500 copies of the same file downloaded, because this seems to be the fastest way to open them in a useful application, while maintain live revision control.

0 Votes 0 ·
ATG-5876 avatar image
0 Votes"
ATG-5876 answered

Yes, I have been chasing for a solution for this for a long time. As Trevor indicates, you have to create your own custom solution or integrate with Adobe Document Cloud. But, as a workaround, I implemented this for one of my clients and they are happy with it so far:

https://www.bonzai-intranet.com/blog/checkout-and-open-pdf-files-from-sharepoint-document-libraries/

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AdrianQuintanilla-7547 avatar image
0 Votes"
AdrianQuintanilla-7547 answered

But when you are searching you get a different ribbon altogether.

There should be an option to change the default option to always open PDF's in Browser vs SharePoint viewer. 44974-capture.jpg



capture.jpg (44.3 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HendrixJesslyn-7742 avatar image
0 Votes"
HendrixJesslyn-7742 answered HendrixJesslyn-7742 edited

We have the same issue and solved it with a few extra clicks. If you have the browser extension for Acrobat, you can choose 'open in browser', then click the Acrobat button to pull into Acrobat.

There is an extension for Chrome and Edge

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ChrisBessler-7896 avatar image
0 Votes"
ChrisBessler-7896 answered

@HendrixJesslyn-7742

While that works, how are you then saving any changes you make to the PDF file back to the SharePoint/Teams site? In my test just now, I was able to open the pdf file in the browser and then click on the "Open in Acrobat" link (I'm using Edge in Win 11). Once in Acrobat, I can make necessary changes, but can't save it back to the SharePoint library without first saving it to my local computer and then uploading to the SharePoint site.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DylanMurphy-6872 avatar image
0 Votes"
DylanMurphy-6872 answered JeffDaughton-6144 commented

This was also incredibly frustrating to me, but I figured out this morning that if you add "#page=1" to the end of the PDF URL, seems that the garbage SharePoint PDF viewer doesn't know how to handle that so it reverts to the default viewer, which is what everyone wanted. So just make sure to add that to all PDF links. Also, if you didn't know about it, the #page and #section bookmark things are super useful for having a URL jump to a specific page/bookmark in a PDF. Not sure that this has ever been officially supported, can't even find the reference document to it now, but it's always worked for the hundreds of pdfs I've worked with over the years.

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yeah sorry tried that didn't work at all. All it did was kick me out of the PDF and went to the sharepoint site document libary (Using Google chrome). ??

0 Votes 0 ·

@DylanMurphy-6872 - Adding the "#page=1" to the end of my PDF URL worked like a champ and opened it in my default PDF program, which in my case is Bluebeam. Completely bypassed the browser. Thanks!

0 Votes 0 ·
rpodric avatar image
0 Votes"
rpodric answered

I had high hopes for this pure-cloud solution that integrates into SharePoint Online (it's the one on the left):
https://documentcloud.adobe.com/o365pdf/start.html

Since it's a decent viewer, basic editor, doesn't require logging into Adobe Cloud, and crucially allows you to save seamlessly back into Sharepoint (so no downloading of PDFs and then re-uploading them).

However, I just can't seem to get it deployed properly:
https://docs.microsoft.com/en-us/answers/questions/744900/34grant-admin-consent34-on-company-behalf-appears.html

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.