## updateFields() {#default} Updates the values of fields in the whole document. ```js updateFields() ``` ### Remarks When you open, modify and then save a document, Aspose.Words does not update fi......Examples Shows how to insert a Table of contents (TOC) into a document...DocumentBuilder(doc); // Insert a table of contents for the first page...