SOLVED

Open 'webUrl' to PDF file in Browser with Adobe Document Cloud instead of downloading it.

Copper Contributor

The graph API gives me a "webUrl" for each file.

 

For PDF files it's something like

https://[sharepointsite]-my.sharepoint.com/personal/[name_company]/Documents/[Folder]/Test/Testdokument.pdf

 

And for Word files it's something like

https://[sharepointsite]-my.sharepoint.com/personal/[name_company]/_layouts/15/Doc.aspx?sourcedoc=%7BC[cTag or eTAg??]%7D&file=Microsoft%20Word-Dokument%20(neu).docx&action=default&mobileredirect=true

 

Text in brackets [] is annotated by me.

 

PDF file link will download the PDF, the Word file link will open it in the Browser GUI.

 

I'd like to create links so that the PDF file is opened in the Adobe Cloud UI in the Browser, same as when I open the PDF in OneDrive or Sharepoint.

 

 

1 Reply
best response confirmed by atwork321 (Copper Contributor)
Solution

@atwork321 

One workaround is to append "?web=1" to the link.

 

https://[sharepointsite]-my.sharepoint.com/personal/[name_company]/Documents/[Folder]/Test/Testdokument.pdf 

 

the workarounds will open the web view and enable the user to select "open in Adobe Acrobat"

1 best response

Accepted Solutions
best response confirmed by atwork321 (Copper Contributor)
Solution

@atwork321 

One workaround is to append "?web=1" to the link.

 

https://[sharepointsite]-my.sharepoint.com/personal/[name_company]/Documents/[Folder]/Test/Testdokument.pdf 

 

the workarounds will open the web view and enable the user to select "open in Adobe Acrobat"

View solution in original post