![]() Once saved as a PDF file, a user can open the form in Adobe Reader or Acrobat and see the form with the imported data. If an element located in the XML data source does not correspond to a field in the form, then the element is ignored.Īfter you reference a PDF form and a valid XML data source, you can import the data into the PDF form.Īfter you import data into a form, you can save the form as a PDF file. For each field that you want to import data into, a value must be specified. If you reference an Acrobat form, then you must use an XFDF data source. To import data into an XFA XML form created in Designer, you must use an XDP XML data source. In order to import form data, you must reference a valid data source. To import data into a PDF form, you must reference either an XML form created in Designer or an Acrobat form created in Acrobat. For information, see Setting connection properties. When creating a service client, you define connection settings that are required to invoke a service. jbossall-client.jar (Required if AEM Forms is deployed on JBoss)įor information about the location of these JAR files, see Including AEM Forms Java library files.Ĭreate a Form Data Integration service clientīefore you can programmatically import data into a PDF form Client API, you must create a Data Integration service client.adobe-utilities.jar (Required if AEM Forms is deployed on JBoss).The following JAR files must be added to your project’s classpath: If you are using web services, then make sure that you include the proxy files. If you are creating a client application using Java, then include the necessary JAR files. Include necessary files into your development project. Create a Form Data Integration service client.To import form data into a PDF form, perform the following steps: ![]() ![]() įor more information about the Form Data Integration service, see Services Reference for AEM Forms. The following XML represents an XDP XML data source that corresponds to the example mortgage application form. The difference between an arbitrary XML data source and an XDP XML data source is that an XDP data source conforms to the XML Forms Architecture (XFA). You cannot use an arbitrary XML data source to import data into a form using the Form Data Integration service. In order to import data values into this form, you must have a valid XDP XML data source that corresponds to the form. Consider the following example mortgage application form. To import data into a form created in Designer, you must reference a valid XDP XML data source. The Form Data Integration service does not support form calculations, validation, or scripting. An interactive PDF form is a PDF document that contains one or more fields for collecting information from a user or for displaying custom information. You can import form data into interactive PDF forms by using the Form Data Integration service. For information, see Exporting Form Data.įor more information about the Form Data Integration service, see Services Reference for AEM Forms. For information, see Importing Form Data. You can accomplish these tasks using the Form Data Integration service: An XDP file generated by Designer can only be used if it carries an embedded base-64-encoded PDF document. It may also contain form field data and an embedded PDF file. An XDP file, which is an XML file that contains form field definitions.An XFDF file, which is an XML version of the Acrobat form data format.An Adobe XML form (created in Designer) is a PDF document that conforms to the XML Adobe XML Forms Architecture (XFA).įorm data can exist in one of the following formats depending on the type of PDF form:.An Acrobat form (created in Acrobat) is a PDF document that contains form fields.The import and export operations support two types of PDF forms: ![]() The Form Data Integration service can import data into a PDF form and export data from a PDF form. Samples and examples in this document are only for AEM Forms on JEE environment. ![]()
0 Comments
Leave a Reply. |