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

How to create a link to an attachment within a pdf

Community Beginner ,
Oct 21, 2020 Oct 21, 2020

Copy link to clipboard

Copied

Hello Adobe Community

I have attached a file to a pdf document (kmz file).

I have saved it so that the pdf opens with the attachments navigation tab open by default, that attachment is visible in the attachments pane.

I would like to create a link on a page that links to that particular attachment in the pdf.

The idea being that when you click on the link on the page it will open the attachment in Google Earth.

 

Thanks

Paul

 

Views

4.5K

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
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Oct 21, 2020 Oct 21, 2020

Copy link to clipboard

Copied

This requires using a script, since the attached file is not a PDF. You can use the following code:

 

this.exportDataObject({cName: "MyFile.kmz", nLaunch: 2});

 

(replace MyFile with the actual file name, of course)

View solution in original post

Votes

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
community guidelines
Community Expert ,
Oct 21, 2020 Oct 21, 2020

Copy link to clipboard

Copied

This requires using a script, since the attached file is not a PDF. You can use the following code:

 

this.exportDataObject({cName: "MyFile.kmz", nLaunch: 2});

 

(replace MyFile with the actual file name, of course)

Votes

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
community guidelines
Community Beginner ,
Oct 21, 2020 Oct 21, 2020

Copy link to clipboard

Copied

LATEST

Hello @try67 

Thank you very much for the prompt response and most importantly the solution!

This works 100% and was exactly what I was looking for.

Thanks

Paul

Votes

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
community guidelines