DocIO's Fields collection cannot be accessed

I can't find the way to access the Fields collection. I need to make an Unlink of all the existing Fields in a document, and I don't see the way. Any ideas?

2 Replies 1 reply marked as answer

HC Hemalatha Chiranjeevulu Syncfusion Team October 16, 2020 10:23 AM UTC

Hi Esther,

Thank you for contacting Syncfusion support.

To achieve your requirement, we suggest you to unlink the field from the Word document using Unlink API in DocIO. Please refer the below documentation link to know more about how to unlink the field from the Word document:
https://help.syncfusion.com/file-formats/docio/working-with-fields?cs-save-lang=1&cs-lang=asp.net%20core#unlink-fields

To achieve your requirement, we have prepared the sample to unlink the fields from the Word document using DocIO. Please find the sample from the below link:
https://www.syncfusion.com/downloads/support/forum/158747/ze/UnlinkFields-247448914

Please let us know if you have any other questions.

Regards,
Hemalatha C




Marked as answer

EG Esther Garcia del Barrio October 16, 2020 11:33 AM UTC

Hi Hemalatha, amazing! It works perfectly, I have integrated the code into my solution and it's going great.
Thank you very much.

Loader.
Up arrow icon