Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Guys,
Does Contour have some kind of event I can hook into when an entry is deleted? I need to do something whenever an entry is deleted from the Contour entry list UI.
Thanks
/Rune
Comment author was deleted
Nope but can add it in for you, before the actual delete and sending the record as arg or what do you need?
Yes. That would be the idea. Before deletion would be perfect.
Would it be as a new workflow type?
I also need to ask when you can add it in? Customers you know :)
Not a workflow , just a .net event, will add it now, so available to you today!
Building now so available to you in a couple of mins :)
Sweet. That will be great :)
Thanks for the quick response.
Ok you can use http://nightly.umbraco.org/Umbraco%20Contour/3.0.19%20WIP/
If you check the class Umbraco.Forms.Data.Storage.RecordStorage
it has 3 events now
public static event EventHandler<RecordEventArgs> RecordDeleting;
public static event EventHandler<RecordEventArgs> RecordUpdating;
public static event EventHandler<RecordEventArgs> RecordInserting;
At your service ;)
That's insane dude :D
We will test it and get back to you if we find a bug or the like :)
Thanks again
yup that's perfect :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Event when entry is deleted?
Hi Guys,
Does Contour have some kind of event I can hook into when an entry is deleted? I need to do something whenever an entry is deleted from the Contour entry list UI.
Thanks
/Rune
Comment author was deleted
Nope but can add it in for you, before the actual delete and sending the record as arg or what do you need?
Yes. That would be the idea. Before deletion would be perfect.
Would it be as a new workflow type?
I also need to ask when you can add it in? Customers you know :)
/Rune
Comment author was deleted
Not a workflow , just a .net event, will add it now, so available to you today!
Comment author was deleted
Building now so available to you in a couple of mins :)
Sweet. That will be great :)
Thanks for the quick response.
/Rune
Comment author was deleted
Ok you can use http://nightly.umbraco.org/Umbraco%20Contour/3.0.19%20WIP/
If you check the class Umbraco.Forms.Data.Storage.RecordStorage
it has 3 events now
public static event EventHandler<RecordEventArgs> RecordDeleting;
public static event EventHandler<RecordEventArgs> RecordUpdating;
public static event EventHandler<RecordEventArgs> RecordInserting;
At your service ;)
That's insane dude :D
We will test it and get back to you if we find a bug or the like :)
Thanks again
/Rune
Comment author was deleted
yup that's perfect :)
is working on a reply...