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

How to open pdf in Acobat Reader from JavaScript

New Here ,
Jan 05, 2021 Jan 05, 2021

Copy link to clipboard

Copied

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

Views

320
Translate

Report

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