Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Save or Save As capture


Level 4

Good day everyone,

Just a quick question this morning.

Is it at all possible to programmatically (javaScript or FormCalc) know if a SAVE or SAVEAS was activated by a user?

Thank you very much for the help.

2 Replies


Level 10


there are preSave and postSave events you can use to execute any script.

But you cannot determine if these evens where executed by a save or saveAs action.


Level 4

Radzmar, your a genius

just did some tests and using the post save event on the form seams to fix that problem i have. It now activates a message to the screen that fires off when then press my home made button or the save as option under menu:file