Can I subscribe to a "onSave" callback when a Document is saved using the WebPlayer?

Is it possible to subscribe to a callback when an analysis file is saved using the WebPlayer? For example, the user opens a document in the WebPlayer and selects File -> Save As and saves the document. I have checked the JavaScribed API for something like that without any luck. I would appreciate any help on how to achieve the above.

The reason for the above is that I want to execute logic when the document is saved. For example, on my site, I have a list of analysis files titles that will have to be refreshed when the user saves a document to the location where the list is being generated. 

(1) Answer

Login