These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Spawing page from template

patra
Registered: Oct 19 2006
Posts: 270

Why A Button with the script:this.spawnPageFromTemplate ("record");
in a form with Enable usage rights for Reader 7.0 does not work?
I have create the form with Acrobat pro 8.0 and works fine with Acrobat Pro.
Any idea?
There is another way to spawing a page from template?
Form users use READER 7.0

THANKS

My Product Information:
Acrobat Pro 8.1.1, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
First off, you should be using the "template.spawn()" function. "spawnPageFromTemplate " was deprecated a long time ago.

I know that the Acrobat JavaScript Reference says that "Form" Rights are what's needed for page spawning, but it's wrong, you need "Page Spawning" rights, which are not available in Acrobat 8. You have to get the full LiveCycle Rights server. "Page Spawning" rights are a sub-Right of Form Rights.

They didn't break down the granularity in the earlier references because you needed the server to get any of them. You see it didn't matter. If you had the server you could apply whatever you wanted. If you didn't have the server you couldn't use any of the rights. When they added Rights Enabling to Acrobat Pro it started to matter, but if you've been using 8 you know they have bigger problems than fixing the reference.

So there you go, if you want to do this you need to get the form enabled for "Spawning" rights. There are some third party "Rights Enabling" resellers like www.formrouter.com. But it doesn't come by itself. You might want to do a google search on this one to see what you can find.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script