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

Maintain Javascript in Exported PDF

New Here ,
Apr 19, 2022 Apr 19, 2022

Trying to set up a 500-page document with javascript actions. I would like to keep that javascript embeded into the document when a portion of the document is exported. This doesn't work when exporting through the GUI so can this be accomplished using more Javascript?

TOPICS
Acrobat SDK and JavaScript , Windows
686
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 ,
Apr 19, 2022 Apr 19, 2022

How does you export the file?

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 ,
Apr 19, 2022 Apr 19, 2022

Unless you export the pages by printing them to the Adobe PDF printer all the actions on the objects they contain should remain exactly the same. So how are you doing it currently, exactly?

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
New Here ,
Apr 20, 2022 Apr 20, 2022

I misspoke on the export... we are doing an extraction to get certain pages separated from the larger overall document. 

 

Is it possible to do this through extraction? 

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 ,
Apr 20, 2022 Apr 20, 2022

What kind of "extraction"? How are you doing it, exactly?

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
New Here ,
Apr 21, 2022 Apr 21, 2022

I can speak a bit to this for Josh.  We have a 500 page file that contains 500 unique sheets.  We have applied Javascripting to all of the sheets for a dynamic date functionality within a few fields. When the file opens, the date is +30 days in one field and +15 in another.  When we go to extract each sheet as its' own individual file, we lose the dynamic date functionality.  We receive this error;

 

AngelaGatts24047326lz3u_0-1650548196958.pngexpand image

 

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 ,
Apr 21, 2022 Apr 21, 2022

You will get this message when you combine files with same form fields.

This has nothing to do with extract or export pages.

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
LEGEND ,
Apr 22, 2022 Apr 22, 2022
LATEST

We have asked (more than once) exactly how you extract. Please answer this - not the effect, but what you click and choose for options. Screen shots may help. You need to answer this, because it seems crucial to the problem.

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