Hi,
I'm interested in using the exportAsFDFStr() method in Acrobat 8 inorder to store form data within a database using ADBC.
This needs to include sinature fields.
If I reopen a form and retrievethe FDF string from the database is there then a way to reapply this to the form (i.e. to populate the fields)?
I've looked through the JavaScript API documentation and cannot find a way to do this.
To put this into context, I need to have a number of test certificates available to users who can fill them in and save one or more instances of the form. The user will fill in the form, sign it and then it needs to be stored. The user could reopen the form data too to complete it at a later date.
I do not want the user to have to choose a location to save form data and therefore want to avoid any methods that require a save to the file system (e.g. exportAsFDF() ). I am also using the database already for other functionality.
Any help greatly appreciated.
Mark Poston
Mekon Ltd.
But you've got some other problems here. First ADBC is not enabled by default on the user's system. See this technote
http://kb.adobe.com/selfservice/viewContent.do?externalId=333472
Second, you can't create a DB from ADBC in Acrobat. The DB has to already exist and be connected into ODBC. So unless you have control over the user systems this is going to be a very awkward solution.
Third, and most critical, ADBC doesn't work on Reader, or on Macs. This is very narrow functionality. More useful for Developer/Designer automation and interoffice solutions than for the generic end user.
A cleaner solution would be to store the data on a server, and use a server script to set and get the user's form info. Or even better, Reader Enable the form for save.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script