We are trying to implement a connector for our document management platform which allows users to create versions.
We are currently using the onRequestClose
event to detect when the user selects the ‘save and close’ command so that we can ask about the document version details, before saving it to the DMS.
When the onRequestClose
event is triggered, how can we determine if the document has been modified since opening or since last saved by another user ? This will avoid an unnecessary popup since the document is already saved.
Thank you.