Is there a hook I can use to run a process whenever a member is updated?
Hi All
I've been asked if I can automatically send an email out when certain properties of a member are updated. Is there a hook I can use to fire this process, or will I need to get into the core Umbraco code?
May be hard to find out, I guess as Member inherits from Content which inherits from CMSNode, you can tap into the save event, but you'll have to look up yourself whether and what properties have changed, probably by comparing 2 revisions of the content? And in that case, use the AfterSave event making sure the changes have persisted before you do your checks.
Is there a hook I can use to run a process whenever a member is updated?
Hi All
I've been asked if I can automatically send an email out when certain properties of a member are updated. Is there a hook I can use to fire this process, or will I need to get into the core Umbraco code?
Thanks in advance.
Shaun
May be hard to find out, I guess as Member inherits from Content which inherits from CMSNode, you can tap into the save event, but you'll have to look up yourself whether and what properties have changed, probably by comparing 2 revisions of the content? And in that case, use the AfterSave event making sure the changes have persisted before you do your checks.
Hope this helps.
Regards,
/Dirk
is working on a reply...