Skip to main content
December 12, 2017
Answered

Help Error message in Adobe Acrobat DC Not AllowedError Template:hidden:2:Field "My Template page name":Focus

  • December 12, 2017
  • 1 reply
  • 944 views

I have used JavaScript code in Acrobat XI Pro in a checkbox to hide and unhide my Template.

hide myTemplate//

var t = this.getTemplate("myTemplate");

t.hidden = true

unhide myTemplate//

var t = this.getTemplate("myTemplate");

t.hidden = false

When using Acrobat DC, I have and error message : Not AllowedError: Protection settings prohibit access to this property or method.

Template:hidden:2:Field "My Template page name":Focus

Please help me....

This topic has been closed for replies.
Correct answer try67

That's what I thought.

You can spawn pages from the template and then delete them in Reader, but you can't hide/unhide the template page itself.

1 reply

try67
Community Expert
Community Expert
December 12, 2017

Are you sure you're using Acrobat and not the free Reader? Hiding a

template is only possible in the former...

On 12 December 2017 at 21:13, davide41142902 <forums_noreply@adobe.com>

December 12, 2017

hey Try67,

I have programmed my checkbox using the Acrobat XI Pro

I'm experiencing the error message when using Adobe Acrobat Reader DC.

What are my options

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
December 12, 2017

That's what I thought.

You can spawn pages from the template and then delete them in Reader, but you can't hide/unhide the template page itself.