This new input PDF form now has one "read only" & one "user entered" text fields with data bindings.
When this input PDF form is rendered with an input XML data using formsServiceClient.renderPDFForm2() method, we are getting the PDF output.
When this new output PDF form is previewed using any browser (chrome/safari/firefox) or any of the browser based viewer components, it is not showing any data on it.
Sample PDF Output with one text field as read only and one field as user entered:
But this new output PDF with interactive fields is getting previewed with data only on "Adobe Acrobat Reader".
Sample PDF Output with one text field as read only and one field as user entered on Adobe Acrobat Reader:
I would really appreciate if some body can help me in this regard.
Our requirement is to preview the interactive PDF form on our internal viewer component (which is based out of browser PDF viewer), where we can see data on other read only fields and enter the data on the interactive fields.
AEM Forms version: 6.2
Designer Version: 188.8.131.5260331
Form saved as : Adobe static PDF Form (*.pdf)
AEM 6.2AEM FormsAEM Forms JEEDesignerInteractive Communication
"Our requirement is to preview the interactive PDF form on our internal viewer component (which is based out of browser PDF viewer)" Since your viewer component is based on browser PDF viewer your use case will not work here.
We understand that interactive forms have to be previewed only using Acrobat Reader and not the browser.
But according to our requirement:
1. "Read Only" fields have the data binding and have to show the data on those fields when rendered.
2. Along with "Read Only" fields, if there are any interactive fields, user should be able to enter the data into the editable text fields.
Internal to our organisation, we have developed a viewer component (using React) for our web app, where we can open the interactive form (on the browser), edit the PDF interactive form and then save it onto local file system.
In this process we were getting the above mentioned issue of data not being displayed.