I am using the Google Docs API to update content in a document.
The document has a table of contents, but this doesn't update automatically after making changes in the document using the API.
The only method I've found, is to manually open the document and click the refresh icon next to the table of contents, which will update the TOC.
Is there a way to do this programatically, using the Google Docs API?
Class TableOfContents
for the properties. And usually, what you are needing for an auto update is a simple trigger, it responds to docsonOpen
event. - MαπμQμαπkγVπ.0