Skip to main content
mariuszn69914994
Participant
Jan 29, 2019 10:41 AM UTC
Answered

NotAlloweError

At work, I use Acrobat Standard XI. I use Javscript. My task is to create a PDF file which on the Acrobat Reader page will be able to hide or display an existing Template. I use: this.getTemplate (name) .hidden = false; this.getTemplate (name) .hidden = true; In AcrobatReader, NotAlloweError is displayed. My task is to create a PDF file for submitting applications. The structure of the document is such that depending on what I choose to display a specific Template. What I need to do to hide or display the template is to be possible on the AcrobatReader page

This topic is closed to new replies. Start a new post to keep the conversation going.
try67
try67Correct answer
Community Expert
Jan 29, 2019 10:42 AM UTC

Reader can't hide or display Templates. What it can do, though is spawn a page from a Template object and then delete it, so you'll need to adjust your code to that, instead.

4 replies

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
Jan 29, 2019 10:42 AM UTC

Reader can't hide or display Templates. What it can do, though is spawn a page from a Template object and then delete it, so you'll need to adjust your code to that, instead.

Translate
mariuszn69914994
Participant
Jan 29, 2019 3:32 PM UTC

Please. Send me easy example.

Translate
try67
Community Expert
Community Expert
Jan 29, 2019 3:35 PM UTC

Start by reading this tutorial: Planet PDF - A Lesson in Templates for Adobe Acrobat

Translate