Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to open pdf in Acobat Reader from JavaScript

New Here ,
Jan 05, 2021 Jan 05, 2021

Dear people,

I try to open a pdf file from JavaScript via browser, but I am failing with the correct syntax. 

 

window.location.replace("acrobat://C:/path/to/file.pdf") opens the Acrobat Reader correctly but it always claims that the syntax is wrong. Initially I try to open a file from SharePoint via Webdav but that seems to be the second step. The simple example from above does not work. What is the correct syntax? I searched the whole internet for an answer but was not succesfull. Help is very much appreciated!

 

 

TOPICS
How to , PDF and browsers , View PDF , Windows
333
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation