Event on Save

Modified on Mon, 5 Oct at 1:53 PM

This event enables to run commands when saving a document in Word or a presentation in PowerPoint or a workbook in Excel.

<event type="BaseExtensions:SaveEvent">

Here is an example:

Combining this event with the update fields feature, all fields in a document in Word will be updated when user is saving the document. For instance, if there is several headings and a table of content in the document and changes in the headings are performed, the table of content will automatically update when the document is being saved.

XML
<event type="BaseExtensions:SaveEvent">
    <Cmd case="BaseExtensions:update-fields"/>
</event>

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article