Document modified event

I need an event handler that will intercept a modification on a property and update another property of the same document based on the new value.

Is there a way to implement this?

If I save the document the event is called again in an infinite loop. If I do not save the document, of course, I cannot update the property.

2 votes

1 answers



If you create a listener with the event “before modification” (beforeDocumentModification), you can run a operation chain that will modify your properties according to your needs when you click the save button. You must not save the document from within the operation, as the behaviour set for the save button will deal with the saving itself afterwards.

1 votes