Checkboxes not filled with ImportXml() of Aspose.Pdf.Kit for .Net

Shahzad,

Thanks for the update. Meanwhile, could you suggest if there is any other alternate workaround that I can do for the same.

Thanks

Dinesh

Hi Dinesh,

I’m very sorry to inform you that currently we can’t share some alternative workaround for this issue.

We’re sorry for the inconvenience.
Regards,

Hi Dinesh,

I have logged this issue as PDFKITNET-17434 in our issue tracking system. Our team will investigate this issue in detail and you’ll be updated via this forum thread once it is resolved.

We’re sorry for the inconvenience.
Regards,

Hi,

Any news? Please let me know as to when I can get a solution so that I can commit the same to my customer.

Regards,

Dinesh

Hi Dinesh,

I’m sorry to inform you that this issue is not yet resolved and I’m afraid we’re unable to share the ETA at the moment. Our team needs to further investigate this issue. You’ll be updated with the ETA as we get some idea.

We’re sorry for the inconvenience.
Regards,

Hi,

Just to let you know that I had tried the same with my licensed copy of Aspose.Pdf.Kit for version 2.6.3.0. I am in critical situation with my customer to deliver this report and will appreciate quick help.

Regards,

Dinesh

Hi Dinesh,

Our team is working on this issue and, if everything goes well, we’re very much hopeful that the fix for this issue will be available in our upcoming monthly release due at the end of this month.

We’re sorry for the inconvenience.
Regards,

Hi,

I have downloaded the hotfix (4.5.0.1) provided by you in this post and it resolved most of my checkbox issues where the checkbox expects either 0 or 1 as values. I had also renewed my license for Aspose.Total. However, I found that for few forms, the checkbox issue still exists and have noticed that these templates require either On/Off or Yes/No as values for checkboxes but does not work even if I provide those values. I am attaching four of the templates, XML files and generated pdfs as attachments that are problematic. The naming convention for each pdf template is xxx.pdf, for XML it is xxx_data.xml and for generated pdf it is xxx_OUT.pdf. Here is the source code that I had used to generate the documents

Aspose.Pdf.Kit.License pdfLicense = new Aspose.Pdf.Kit.License();

pdfLicense.SetLicense(@"C:\Temp\Aspose.Total.lic");

Form form = new Form(@"C:\Temp\PTO-SB-31 v07-09.pdf", @"C:\Temp\PTO-SB-31 v07-09_OUT.pdf");

System.IO.FileStream xmlInputStream = new FileStream(@"C:\Temp\PTO-SB-31 v07-09_data.xml", FileMode.Open);

form.ImportXml(xmlInputStream);

form.Save();

xmlInputStream.Close();

As I had mentioned earlier, I am in a very critical situation with my customer and your timely help would be appreciated.

Thanks

Dinesh

Hi Dinesh,

We’ll test these issue at our end in detail, however in the meanwhile can you please try the latest version (4.6.0) at your end and share the results?

We’re sorry for the inconvenience.
Regards,

Shahzad,

I had downloaded the version 4.6.0 and tested with the same templates. The reults are exactly the same as mentioned in my previous email.

Regards,

Dinesh

Hi Dinesh,

I have reproduced these problems at my end and logged them as shown below:

PDFKITNET-18299: PTO-SB-31 v07-09.pdf
PDFKITNET-18300: PTO-SB-22 v07-09.pdf
PDFKITNET-18301: 1002 v12-07.pdf
PDFKITNET-18302: 1001 v05-10.pdf

Our team will investigate these issues and you’ll be updated via this forum thread once they’re resolved. Moreover, I would like to add that, please try to export the data first to XML, so you should get a better idea that how the CheckBox values are defined in the PDF file; as I have exported these files the values are defined as On/Off, while you’re passing these values as Yes/No; although, the checkboxes are not filled with the modified values either, nevertheless this might help you in future.

We’re sorry for the inconvenience.
Regards,

Hi,

Any updates about the fix?

Regards,

Dinesh

Hi Dinesh,

I would like to share with you that the fix for these issues will be available in our upcoming monthly release due at the end of this month.

If you have any further questions or concerns, please do let us know.
Regards,

Hi,

Do you have any updates in this regard?

Regards,

Dinesh

Hi Dinesh,

The fix for the issue PDFKITNET-17434 will be available in our upcoming monthly release, which will be published this week. However, I’m afraid, other issues are not yet resolved. I have asked our development team to share the ETA of these issues. You’ll be updated once we get some idea.

We’re sorry for the inconvenience.
Regards,

The issues you have found earlier (filed as 18299;18300;18301;18302;17434) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

Hi,
I am still facing problems with

PDFKITNET-18301: 1002 v12-07.pdf
PDFKITNET-18302: 1001 v05-10.pdf

I have tried giving (yes,Yes,YES,on,On,ON,ya,Ya,YA,true,1,~,!) for getting check boxes.

Regards,
Dinesh

Hi Dinesh,

I would like to share with you that every PDF file might have different values for check boxes, and these values are defined inside the particular PDF file. So, the best way to tackle this situation is that you first export the PDF to XML using ExportXml method. Please make sure that you check some of the check boxes and leave some others as unchecked to see what pair of values is specified for the check boxes in that particular PDF file. Once you have the exported XML, you can modify/add values as per your requirement.

Please try it at your end using the latest version. If you’re still unable to fill the check boxes, please do let us know.

We’re sorry for the inconvenience.
Regards,

Hi,

I have tried this option before posting the above message, But my problem is i am not able to save the PDF file after clicking Check box as i am getting attached error.

Regards,
Dinesh.

Hi Dinesh,

It looks like this is a different issue. I have checked the file named 1001 v05-10.pdf at my end, but couldn’t notice this message. I have tried with the input and output files both. However, I can see that there is no option to save the PDF even in the input file. This issue seems to be concerned with the tool you used to create the PDF file in the first place. Please make sure that the original input file can be saved when values are changed in the fields.

If you find any further questions or concerns, please do let us know.
Regards,