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

Custom Javascript in DC reader

Guest
Aug 14, 2017 Aug 14, 2017

I previously developed custom javascript for adobe XI that custom stamps and saves the file.  Now our company is moving to DC reader but want the same functionality.  Is this possible in Reader?

TOPICS
Acrobat SDK and JavaScript , Windows
403
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 ,
Aug 14, 2017 Aug 14, 2017

If it worked in Reader XI then most likely, yes. If it was in Acrobat it depends on what exactly your code does...

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
Guest
Aug 15, 2017 Aug 15, 2017

Thanks for the reply!  I added in the javascript and the stamp files.  The custom buttons show in the add-on menu but it errors on this line: this.flattenPages()  that is doesn't have permission.  Any thoughts?

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 ,
Aug 15, 2017 Aug 15, 2017

This method can't be used in Reader. You can replace it with a method to set all comments/form fields as read-only. It's not the same, but it's the best you can do...

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
Guest
Aug 15, 2017 Aug 15, 2017
LATEST

Let me make the switch and see if that works for what we have.  Thank you in advance for you help.

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