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

Acrobat Pro DC mobile App Javasript

New Here ,
May 06, 2016 May 06, 2016

I Creates a button with the following code :

this.getTemplate (" BMA ");

this.getTemplate (" BMA ") spawn ( this.numPages, true, false ) ;

Unfortunately this Coder does not work well in the desktop version of Adobe Acrobat Pro or another PDF reader for the desktop versions but on the IPad or other Teblet appliances .

my question I have on this above code an error inside or these mobile apps acrobat this is simply not what is really bad for this price what the software costs or can it gernerell the modilen devices this is simply not ?

the function Javasript is on and normal alert ( ) command will also reset document or send by mail also go!

ask for quick help

bless Dominik

TOPICS
Acrobat SDK and JavaScript , Windows
317
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 ,
May 06, 2016 May 06, 2016
LATEST

It doesn't work because it's incorrect. It needs to be:

this.getTemplate(" BMA ").spawn( this.numPages, true, false ) ;

Also, are you sure the name of the template is " BMA " and not "BMA" (without the spaces)? If you provide the wrong template name it will throw an error like this:

TypeError: this.getTemplate(" BMA ") is null

And as a side-note, this is not going to work on mobile devices. I don't think that any mobile app supports Templates.

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