We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

UpdateFields() is not updating ref fields

I have used the following code to update the fields.

Document doc = new Document(@"C:\DEMO.docx");

doc.UpdateFields();

doc.Save(@"C:\DEMO.pdf", Aspose.Words.SaveFormat.Pdf);

Please see the attached Demo.docx file.

That file contains one Dropdown field. When the dropdown changed all related reference Fields should be updated.

My requirement is

I have changed the dropdown value and saved the file and ran above code to update ref fields but it is not happening.

for example :

Select "Red" in dropdown

Save the file

run the above code

Refrence fields should be updated with "Red"

and "You selected Red color"


Hi Ramesh,

Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 13.4.0, I managed to reproduce this issue on my side. I have logged this issue in our bug tracking system. The issue ID is WORDSNET-8283. Your request has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

Thanks for your reply. We will wait for the resolution.


Thanks,
Ramesh

Hi Ramesh,


Sure, we will keep you informed of the status of this issue and let you know once it is resolved.

Best regards,

The issues you have found earlier (filed as WORDSNET-8283) have been fixed in this .NET update and this Java update.


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