Sorry you've almost waited a YEAR for a response on this.
But there is the 'ContentService' you can listen to for events as you were familiar with. But there is also a 'MemberService' used in a similar fashion.
Everything is exactly the same from that point on. Just pay attention to the convention they're using.
Umbraco 8 How to Catch Member Events (Eg when a member is published)
Hi Guys,
I am familiar with Events in Umbraco 8 relating to content but I cant find any documentation on creating member events.
When a member is published I want to trigger an even so I can do some extra work.
Anyone any idea what the methods should look like or can point me in the right direction here the documentation is?
Thanks in advanced.
David
Hi David,
Did you read this article about how to subscribe to the event? - https://our.umbraco.com/documentation/getting-started/Code/Subscribing-To-Events/
Umbraco changed events system since v7, they went from ApplicationEventHAndlers to Components, check out - https://creativewebspecialist.co.uk/2018/06/15/umbraco-v8-bye-bye-applicationeventhandler-hello-umbraco-components/
https://www.perplex.nl/en/blog/2019/umbraco-v8-changes-for-developers/
MemberService events documentation page isn't created yet I think
Thanks,
Alex
Hi Alex,
Thanks for your reply.
Yes I am familiar with creating events with Umbraco8 using compositions etc.
It's just the membership events I am struggling with because the lack of documentation. I don't know the method contractor and body etc.
If anyone know one has an example of this it would be great.
Kind Regards
David
Hey @David
Sorry you've almost waited a YEAR for a response on this.
But there is the 'ContentService' you can listen to for events as you were familiar with. But there is also a 'MemberService' used in a similar fashion.
Everything is exactly the same from that point on. Just pay attention to the convention they're using.
is working on a reply...