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

allow users to insert a pdf file into a form

jmarks
Registered: Oct 9 2007
Posts: 12

I am designing a form at the end of which users are to include a document of their own design, which will include embedded images.
It would be easiest for users to be able to activate a control that will allow them to navigate to a pdf file of their own and then append or insert the file into the form.
Is there a method that I could build to do this?
thanks for any help anyone can give.

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
If the users are using Acrobat Professional, a automation script can be written to handle this. Please take a look at the Acrobat JavaScript Reference. The relavant functions are "app.browseForDoc()", "doc.insertPages()", and "doc.importDataObject()"

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

jmarks
Registered: Oct 9 2007
Posts: 12
Fabulous, thank you. I was just starting to wade through the SDK help files. In fact, I'd like this Pdf file insertion to be done by users filling in my LiveCycle Design form, by clicking a button. So, ideally by users running Acrobat reader 7 or 8 or Acrobat standard.will users with those products be able to run this scrupt?do I need to add special permissions to the form?
Thanks again for your help.
Jeremy Marks
University of Chicago