I have developed a pdf form using livecycle designer and it has a submit button in it. The form is published to our organization website. What we would like to do is, when the user opens and fills up the pdf form either on web browser / or after downloading to their desktop, users should be able to post the data in the form directly into our IMS database. Our users are not connected to our organization network but just to the internet.
I understand that we need to use a Submit button with 'Submit As' property set to XML. IMS connect is an IBM interface that would read this xml and pass the data to the database. But, what I would like to know is the architecture and how the components communicate here. i.e. for our design document.
I am assuming that we would need to lay out these components on the diagram but not very sure of the order in which the data is flowing from client to the database.
1. Web browser
2. Internet Connection
3. Webserver (this is where the org. website is and the form is located on the website)
4. LiveCycle ES sitting on an application server?
5. Database tier.
Appreciate if anyone could tell me exactly the steps and the data flow.
I have started implementing this solution and kind of struck.
I have the PDF form developed using livecycle designer and it has submit button which when clicked should submit the form data in either xml or (preferably,delimited text) to a ftp location.
Here are some details about the requirement:
The pdf form will be available on our organization website, and will allows users to access the form, fill it and submit. there is also a security mechanism where in users have to enter the "user id" and "password" which are located on the form itself before clicking submit. If the "user id" and "password" is not entered, submit button will be disabled and users will only be able to print the form.
Once "submit" button is clicked, "user id" and "password" should be authenticated against LDAP and if successful, ftp the form data and save it as a file on ftp server.
If authentication is not successful, then do not ftp the form data and show a message to the user that authentication failed.
We are planning to use Servlets, Websphere application server to achieve this.
Appreciate if you could point me in the right direction.
I am also working on the same project as you guys'. I am using web service in my project. One thing i want to know is how to specify the url in the submit button in sending data as an xml format to web service. And how to retrieve the data from the xml data from the web service site. Any help and suggestion are appreciated because I am stuck at this point.
You cannot use a submit button to invoke a web service. You woudl create your web service to recieve a single parameter (the XML that represents the data on your form). Then create a hidden field (to hold the data) and bind the input parameter to that field. Now using a regular button, add code that will take the data that is in the data dom and dump it into your hidden field:
Make sure the your hidden field is set for multiline. Now in the next line of code we need to invoke the web service. You can use the invokeBtn supplied by the DataConenction wizard (dropped on your form of course). You can use the command:
This will send the data in the hidden field to the web service. You can code your web service to return a string that indicates that the data was recieved. You can bind that output parameter to another hidden field. Once the web service executes then that field will hold the message string. Now you can put up a message box to the user:
When I talk about hidden fields I mean to make the presence invisible not hidden.
The way you suggested me works fine. I really appreciate for that. But there is one more thing. It can only work with Adobe Professional. When I open the form with Adobe Reader and click the submit button, it doesn't invoke the web service and send the data. How can I make the data send to the web service in Adobe reader?
The web service does not deal with files so to answer your question ....No. There is a call that will give you the name of the PDF that is currently open if that will do any good. You could get that and set it into a hidden field.