XML is not imported properly to XFA form which is built on Adobe Live Cycle

Hi,

I am using the Aspose.Total component which ships with PDF and PDF.Kit components. PDF version is 5.2.0.0 and PDF.Kit version is 5.5.0.0

I am using PDF.Kit for working with XFA forms. One of my requirement is binding XML back to PDF form which is submitted previous. For that I am using ImportXML(), which works fine with static fields. Now we are going to use a dynamic form with repeated subform. For this I am using the following code, which works fine for RepeatableSubForm1_1.pdf, but not for RepeatableSubForm1_2.pdf.

string xml = File.ReadAllText(@“D:\xfa1.xml”);
//string sPath = @“D:\RepeatableSubForm1_1.pdf”;
string sPath = @“D:\RepeatableSubForm1_2.pdf”;
string asposeOutput = @“D:\AsposeImportXML.pdf”;

Form f1 = new Form(sPath, asposeOutput);
MemoryStream m = new MemoryStream(System.Text.Encoding.UTF8.GetBytes(xml));
f1.ImportXml(m, true);
f1.Save();

I wanted to make it work the RepeatableSubForm1_2.pdf. I am trying the same with latest Aspose.PDF component to evaluate as our license subscription is expired. but getting errors like evaluation version support at most of 4 form fields.

Is this issue fixed in new pdf component? else what is the work around to make the RepeatableSubForm1_2.pdf form working?

Hi Srinu,

Thanks for using our products.

I have tested the scenario using latest release version of Aspose.Pdf for .NET 7.3.0 and as per my observations, both the PDF forms are properly being populated. For your reference, I have attached the resultant files which I have generated. Please take a look.

Furthermore, please note that you can also request a 30 days Temporary license, so that you can test the product without any limitations. Please visit the following link for further details on Get a temporary license

We are sorry for your inconvenience.