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
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...
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.
Continue discussion
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
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
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.
/Rune
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
yup that's perfect :)
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.