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

Free Support Forum - aspose.com

Word Table of Contents not updating

I have a wordML file that doesn’t get an updated TOC when run through aspose.

I run it with Update.fields() and the fields are being indeed updated, but TOC displays “No table of contents entries
found.”. Updating the TOC on word (left click->update field) makes it show up.

input: xml (wordml)
output: docx

Hi Chris,

Thanks for your inquiry. We have tested the scenario using latest version of Aspose.Words for .NET 16.3.0 and have not found the shared issue. Please use Aspose.Words for .NET 16.3.0. We have attached the output Docx with this post for your kind reference.