toc_update
Regenerate an existing InDesign table of contents from its story to reflect updated document content.
Instructions
Update (regenerate) an existing TOC from its story
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| styleName | No | ||
| storyIndex | Yes | ||
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. |