I am making some user notifications on different document events. The notifications are similar to the Umbraco Speech Bubble and I show them via RegisterClientScriptBlock().
I wanted to show a notification on Document.AfterDelete. I thought I was good to go untill I realised that Umbraco deletes documents with the umbraco/webservices/legacyAjaxCalls.asmx webservice. Therefore RegisterClientScriptBlock() is no longer efficient.
Is there any other way I could show a message to the user?
Yeah, I didn't really think it would be possible either, but had to ask.
Modifying the javascript is an option but since I am planning to release it as a package, I really would like to avoid fiddling with existing Umbraco files.
Responding to legacyAjaxCalls.asmx/Delete
Hi,
I am making some user notifications on different document events. The notifications are similar to the Umbraco Speech Bubble and I show them via RegisterClientScriptBlock().
I wanted to show a notification on Document.AfterDelete. I thought I was good to go untill I realised that Umbraco deletes documents with the umbraco/webservices/legacyAjaxCalls.asmx webservice. Therefore RegisterClientScriptBlock() is no longer efficient.
Is there any other way I could show a message to the user?
Unlikely, you've probably got to modify the javascript to do a callback to your own method if you want to do notifications
Yeah, I didn't really think it would be possible either, but had to ask.
Modifying the javascript is an option but since I am planning to release it as a package, I really would like to avoid fiddling with existing Umbraco files.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.