0

Every time I upload a new document to a document library, the Edit Form dialog is opened for inserting columns information. Is there any way to create a callback function to be triggered every time the Edit Form dialog is closed in any way (including when the Save and Cancel button are clicked)?

My ultimate goal is to perform a REST API call, immediately after the Edit Form dialog is closed, to retrieve all the checked out documents in the library (as I don't want users to leave uploaded documents without saving required information). The code for this part is ready, I only need to understand how to create a callback to the EditForm dialog, which is where I want to insert the solution I created so far.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.