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

Unable to Flatten Forms

JokeHeros
Registered: Feb 17 2009
Posts: 3

Adobe Acrobat 9.1, forms created using LiveCycle Designer. I've designed multiple forms where a supervisor can enter instructions on how to perform certain job tasks. I'd like to flatten the filled out forms so that I can merge completed forms into a single .pdf rather than a portfolio of forms.

I've downloaded and inserted into my Javascript folder, the app PDFScript_FlattenPages. In Acrobat, with a filled out form, I click on the Flatten Pages button and nothing happens. When I go to the Javascript console I get the following error message:

Notallowederror: Security settings prevent access to this property or method
Doc.FlattenPages:266:app
FlattenPages:exec

I made no security provisions in Livecycle. In Acrobat, when I check the document restrictions, I see the following:
Changing Document: Not Allowed
Document Assembly: Not Allowed

No security provisions are chosen in Acrobat either. I'm not sure where I go about allowing document changes.

I read of another method of flattening by going through PDF Optimizer, however I can't choose that because I get the message "Adobe XML form can not be optimized".

I'm fairly new to Acrobat, and stumped. I appreciate any suggestions.

My Product Information:
Acrobat Standard 9.1, Windows
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi JokeHeros,

You cannot flatten LiveCycle Designer form fields with JavaScript- the flatten pages tool you are using is only for AcroForms ( interactive forms created with Acrobat, not LiveCycle Designer). The scripting model for AcroForms and LCD forms are not the same.

Hope this helps,

Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
seeker
Registered: Jun 6 2009
Posts: 1
Is there any way to edit a PDF in Acrobat Pro if that was originally made LiveCycle? I dont mind losing all the form fields and recreate them in Acrobat.

Thx