LiveCycle ES2: “ImportFormDataException: ALC-FDI-001-305″ importing data to a PDF

Issue

The following exception occurs when you use FormDataIntegration to merge xml data into a prerendered PDF file:

com.adobe.livecycle.formdataintegration.client.ImportFormDataException: 
ALC-FDI-001-305: Operation aborted: Malformed input PDF or data.

Reason

When a PDF form contains a rich-text enabled field with data (default or already merged), the FormDataIntegrationClient can’t import the data. This issue has been identified as a limitation in the AFML library as it presently does not support the tab-interval style attribute.

In the current LiveCycle ES2 documentation, it states that the FormDataIntegrationClient is the preferred way to import data to a PDF form:

http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/importingExportingIntro.51.2.html

Adobe Engineering confirms that the Forms service using renderPDFForm is the recommended way to import data, rather than using the FormDataIntegrationClient. Adobe plans to update the documentation to reflect this information.

Solutions

Do one of the following:

  • Place the text in rich-text fields that do not have the tab-interval style attribute.
  • Use the renderPDFForm API from Forms ES2 by setting “Generate Server Appearances” to false.

reference: (181504595/2591446)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

Comments are closed.