Highlighted

How to make the phone hyperlink inserted in PDF work on the desktop? How to treat this error as a feedback message?

New Here ,
Aug 12, 2019

Copy link to clipboard

Copied

Hello! I created a virtual business card in PDF. I put a button to trigger the smartphone phone. When I open the PDF on the mobile phone and click the make call button it works perfectly, but when I open this PDF on the desktop it doesn't work. Does anyone know how I can handle this error if my client accesses the file on computers? I thought of showing a message with the phone number when giving the error. Thank you!

Provided that there is an application that can handle the HTTP native URL of "tel:" then you should get a response on the computer desktop.

However, if you want give a message then you will want to use JavaScript with "app.launchURL();" method and construct the exception error message that you want to display if it fails.

The basic JavaScript would be something like this:

app.launchURL("1-123-456-7890");

Thom Parker gives a basic exception example in this link:  https://acrobatusers.com/tutorials/js_exception_handling

Views

173

Likes

Translate

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

How to make the phone hyperlink inserted in PDF work on the desktop? How to treat this error as a feedback message?

New Here ,
Aug 12, 2019

Copy link to clipboard

Copied

Hello! I created a virtual business card in PDF. I put a button to trigger the smartphone phone. When I open the PDF on the mobile phone and click the make call button it works perfectly, but when I open this PDF on the desktop it doesn't work. Does anyone know how I can handle this error if my client accesses the file on computers? I thought of showing a message with the phone number when giving the error. Thank you!

Provided that there is an application that can handle the HTTP native URL of "tel:" then you should get a response on the computer desktop.

However, if you want give a message then you will want to use JavaScript with "app.launchURL();" method and construct the exception error message that you want to display if it fails.

The basic JavaScript would be something like this:

app.launchURL("1-123-456-7890");

Thom Parker gives a basic exception example in this link:  https://acrobatusers.com/tutorials/js_exception_handling

Views

174

Likes

Translate

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
Adobe Employee ,
Aug 12, 2019

Copy link to clipboard

Copied

Provided that there is an application that can handle the HTTP native URL of "tel:" then you should get a response on the computer desktop.

However, if you want give a message then you will want to use JavaScript with "app.launchURL();" method and construct the exception error message that you want to display if it fails.

The basic JavaScript would be something like this:

app.launchURL("1-123-456-7890");

Thom Parker gives a basic exception example in this link:  https://acrobatusers.com/tutorials/js_exception_handling

Likes

Translate

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
Reply
Loading...
Resources
Trending Issue & Solution
Edit PDF in Adobe Acrobat Pro DC