Forum Discussion
John Twohig
Apr 28, 2020Iron Contributor
Open pdf in Browser not SharePoint pdf Viewer
When I click on a pdf file either in search results or the document library web part the file opens in the web browser. When I put a link to the same file in an image web part the file opens in the S...
EIverson
Jan 27, 2022Copper Contributor
John Twohig jm_herard LeeUnderwood NanetteDV KDRUIS
Not a fix but more a workaround. The issue is specific to the QuickLink web part. For PDFs it adds a ?web=1 to the end of the address forcing the PDF to open in the SharePoint PDF viewer. I thought the solution may be to use #page=1 to force it to open in the browser, but the web modifier it adds overrides the page modifier.
My solution, was to load the address (https://organization.sharepoint.com/sites/SiteName/LibraryName/Portable%20Document%20Format.pdf) into a URL shortener like bit.ly or tinyurl.com then use the generated link (https://bit.ly/[whatever]) in the QuickLink web part. That worked for me.
LizzieB24
Oct 30, 2023Copper Contributor
if I'm sharing a link to something, for example in an email, I tend to delete everything in the URL after ".pdf". Then it should open in the browsers. But if a person is on a SharePoint and selects a document to open, it will always be in the previewer and i don't know if you can turn that off.