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

How to create a link to an attachment within a pdf

Community Beginner ,
Oct 21, 2020 Oct 21, 2020

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

 

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

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

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

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)

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

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