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

Populating a local MySQL database from a Adobe Acrobat X/10 Pro form/portfolio

fixmedia
Registered: Nov 15 2010
Posts: 17

Hi fellow acrobat users/developers,
 
Does anyone have a link to a good tutorial how to populate a MySQL database from a Acrobat X/10 Pro (important) form/portfolio?
 
In my Acrobat 9 Pro solution I used ADBC with a ODBC connection, which worked perfectly, but that's dropped in the latest Acrobat X/10 version. This was mentioned to me in a other post of mine and that I have to use XFA or SOAP in Acrobat X/10. But how does this work?
 
A big thanks in advance

My Product Information:
Acrobat Pro 10.0, Windows
UVSAR
Online
Expert
Registered: Oct 29 2008
Posts: 1357
XFA is the forms language used by LiveCycle Designer (LCD), and is supported by Acrobat and Reader for viewing and use but the form must be created in LCD (bundled with Acrobat on Windows). XFA has a number of powerful tools for talking to databases and web services - start off by reading the LCD help file under "Using Designer ES2 / Working with Data Sources" (plus we have some of the world's top XFA experts on here to help with specific questions). XFA forms can connect to an OLE database (the replacement for ODBC) and using a WDSL connection it can interface to a web service.


SOAP is supported in XFA, but also via a JavaScript object collection within Acrobat which can be used when creating Acrobat-based forms (Acroforms). SOAP works fine when the form is opened in Acrobat, but to get a SOAP-based Acroform to work in Adobe Reader requires that the form be enabled by LiveCycle Reader Extensions - i.e. the very expensive server product, NOT the "extend features" menu options in Acrobat.
fixmedia
Registered: Nov 15 2010
Posts: 17
@UVSAR: I'm reading and testing with the information you pointed out but is this kind of functionality not working in Acrobat X itself anymore? With Acrobat 9 Pro and ADBC I got it perfectly working with javascripting in Acrobat itself without any use of LiveCycle.

If this isn't possible without LiveCycle anymore than that's what I have to work with. Just curious.
UVSAR
Online
Expert
Registered: Oct 29 2008
Posts: 1357
As you said in your first post, ADBC support has been removed from the Acrobat X Family. XFA and SOAP/LC are now your only options.
fixmedia
Registered: Nov 15 2010
Posts: 17
Unfortunately database scripting in a portfolio PDF file is also a ‘No-Go’ in Acrobat X/10 then I’m afraid? This because of a pdf portfolio workflow we developed for a client of ours.

This workflow uses two pdf files:
- a portfolio template pdf for creating a new project portfolio (creates a database on the background based on the pdf properties user input and saves a new unique portfolio pdf in a specific project folder on the desktop),
- a pdf form which submits text field data in the specific database (created with the portfolio template).

The newly created project portfolio uses the ‘Based on an image’ layout. The user selects a background image and creates several positioned folders. In each folder the user inserts a Photo + the (second) pdf form. The user fills out the specific folder data and submits this data to a locally MySQL database (runs locally Wamp Server 2).

I’m afraid this workflow isn’t possible anymore in Acrobat X/10? From the information you pointed out, the pdf form will not be the biggest problem but the portfolio template will(?).

If this workflow (especially the portfolio template part) is possible with Acrobat X/10, could you point me in the right direction to solve this problem?