Skip to main content
Inspiring
Feb 19, 2018 4:34 PM UTC
Answered

Add Page with Button in Reader

Possible? Not possible?

I followed the tutorial here... https://acrobatusers.com/tutorials/how-to-build-a-button-that-creates-a-new-page

I have read all the current discussions I can find on this...

From what I understand—using a template and calling it with this simple little script

var a = this.getTemplate("Add Page"); a.spawn();

should work in Reader DC. But its not.

I get a JS error NotAllowedError: Security settings prevent access to this property or method. Template.spawn:2:Field Button4:Mouse Down

This topic is closed to new replies. Start a new post to keep the conversation going.
try67
try67Correct answer
Community Expert
Feb 19, 2018 5:18 PM UTC

In what version of Reader are you opening it, though?


You don't need to Reader-Extend it.

6 replies

try67
Community Expert
Community Expert
Feb 19, 2018 5:10 PM UTC

It should work... Are you sure you're using Reader DC? Is the file protected or digitally signed, or something like that?

Translate
cathykkaAuthor
Inspiring
Feb 19, 2018 5:16 PM UTC

I'm saving it out of Acrobat PRO DC as > Reader Extended PDF - It has form fields

Translate
try67
Community Expert
Community Expert
Feb 19, 2018 5:18 PM UTC

In what version of Reader are you opening it, though?

Translate