Free Support Forum - aspose.com

Extended Rights still Not Preserving

Extended rights are being lost when a form field is filled in and the document saved. I have followed code snippets provided. See: https://blog.aspose.com/2020/05/25/create-fill-edit-fillable-pdf-form-csharp/.

Please help

@dhorne278b

Could you please share your sample PDF document with us. We will test the scenario in our environment and address it accordingly.

Form is attached.GSFC20-4.pdf (120.0 KB)

@dhorne278b

Could you please share the field name of any text box in the PDF shared by you? We test the scenario in our environment and share our feedback with you accordingly.

form1[0].Page1[0].TextField5[2]

@dhorne278b

We were able to reproduce the issue in our environment while using the below code snippet with Aspose.PDF for .NET 21.2:

FileStream fs = new FileStream(dataDir + "GSFC20-4.pdf", FileMode.Open, FileAccess.ReadWrite);
// Instantiate Document instance
Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document(fs);
pdfDocument.Form.XFA["form1[0].Page1[0].TextField5[2]"] = "test";
// Save the updated document in FileStream
pdfDocument.Save();
// Close the File Stream object
fs.Close();

Therefore, it has been logged as PDFNET-49594 in our issue tracking system for the sake of correction. We will further look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.

Hi, just wondering if there is any new status or an ETA for PDFNET-49594?

@dhorne278b

We are afraid that earlier logged ticket is not yet investigated. We will surely investigate and fix it on first come first serve basis and inform you once it is rectified. Please give us some time.

We apologize for the inconvenience.