Skip to main content
Participant
January 30, 2024
Answered

Spawn not working in other PDF viewers

  • January 30, 2024
  • 2 replies
  • 475 views

I used the following  when a box is checked show a template  or unchecked to hide the template 

 

if(event.target.value!="Off")
{this.getTemplate("CED" ).spawn(1, false, false);}
else
{this.deletePages(1);}

 

This works perfectly except for that the document has to be viewed in an adobe application it seems.  If it opend in chrome, firefox, edge or pther pdf viewer it does not work. Is there a way to make this work with other apps.  

 

This topic has been closed for replies.
Correct answer Bernd Alheit

Not all PDF viewers support this.

2 replies

JR Boulay
Community Expert
Community Expert
January 31, 2024

It works fine with Foxit Reader, web browsers are not PDF readers and therefore do not fully support this format.

Acrobate du PDF, InDesigner et Photoshopographe
Bernd Alheit
Community Expert
Bernd AlheitCommunity ExpertCorrect answer
Community Expert
January 31, 2024

Not all PDF viewers support this.