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

Botón para archivos adjunto

New Here ,
Jun 14, 2022 Jun 14, 2022

Copy link to clipboard

Copied

Buenas tardes.

 

Disculpen, pero busco quien me pueda ayudar a crear un botón dentro de mi documento PDF que abra un archivo adjunto dentro del mismo PDF.

 

Muchas gracias.

TOPICS
How to , JavaScript , PDF forms

Views

490

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

correct answers 1 Correct answer

Community Expert , Jun 14, 2022 Jun 14, 2022

OK, then as the Mouse Up action of your button have it execute the following JavaScript code:

 

this.exportDataObject({cName: "Contenidos por etapas.xlsx", nLaunch: 2});

Votes

Translate

Translate
Community Expert ,
Jun 14, 2022 Jun 14, 2022

Copy link to clipboard

Copied

What type of file? How is it attached to the main PDF?

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
New Here ,
Jun 14, 2022 Jun 14, 2022

Copy link to clipboard

Copied

It's attached with the tool Edit, and I want to make a button to open that attached file 

UbitsLearnin24867225arua_0-1655239744456.png

 

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 ,
Jun 14, 2022 Jun 14, 2022

Copy link to clipboard

Copied

What's the name of the file you attached?

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
New Here ,
Jun 14, 2022 Jun 14, 2022

Copy link to clipboard

Copied

Is contenidos por etapas.xlsx

UbitsLearnin24867225arua_0-1655241735859.png

 

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 ,
Jun 14, 2022 Jun 14, 2022

Copy link to clipboard

Copied

OK, then as the Mouse Up action of your button have it execute the following JavaScript code:

 

this.exportDataObject({cName: "Contenidos por etapas.xlsx", nLaunch: 2});

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
New Here ,
Jun 14, 2022 Jun 14, 2022

Copy link to clipboard

Copied

LATEST

It works perfectly, thank you sooo much!

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