In my testing of the Document Generation service, I have found that a Table of Contents specified in the Word template does not get updated after the JSON data merge and before the PDF is rendered. Is this a limitation of the service or is there a way to get the Table of Contents to update?
Can you share an example of your source Word doc and data so I can confirm? If so I can file a bug.
Thanks for looking into this!
Word doc and sample output are attached.
"customerName": "Kane Miller",
So, from what I can see, TOCs in Word are *not* automagical. Ie, if you add a new heading in the Word client, it will *not* update the TOC, you have to do it yourself, so I think this is expected.
Where do we log feature requests as this would be very useful to have? I have used another Word merge API in the past and it had options to update TOC and other Fields (equivalent to Ctrl+A then F9 in Word).
Yall can't - I can - and I'm doing so now.