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

Batch Processing

goslinc
Registered: Sep 25 2007
Posts: 114

Created a form in LCD, enabled it in Acrobat (Professional 8.0). I open the file (which is a pdf file), go to FORMS, MANAGE FORM DATE, EXPORT, and then export is as xml this takes my form data and puts it in my proper xml format.

When I try to do this process as a batch, I'm getting an xml file type, but the TAGS are not mine from the LCD xml schema. Where can I find help with this? I first posted in Forms Acrobat and realized that is probably the wrong form...thinking maybe this is the correct forum?

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
How are you exporting from a Batch Sequence, what commands?

You might try using the JavaScript export functions in the Batch Sequence.

this.exportXFAData({cPath:"...",bXDP:false});

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]

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

goslinc
Registered: Sep 25 2007
Posts: 114
Good morning. When I run this.exportXFAData({CPath:*...",bXDF:false}); I receive the following error:

Range Error: Invalid argument value. Doc.exportXFAData:1:Batch undefined: exec Parameter 1

I selected the option to select the files to run the batch on when the batch is running. Appreciate your help and patience with me.
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Sorry, the "..." in the path argument is just a place holder for the real path you want to save too. Usually you have to write a bit of code to build the path. Try running this command from the [url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/javascript_console/]JavaScript Console[/url] before adding it to a batch sequence.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]

goslinc wrote:
selected the option to select the files to run the batch on when the batch is running. Appreciate your help and patience with me.
Yes, but what batch sequece commands are you using for exporting to XML?

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