I have an account section as part of my website where the user can update their personal details such as forename, surname and email. I am using the email as the login name. I am able to update the member email/login but I am not able to do it using the Merchello Customer API. The LoginName of the ICustomer interface appears to be read only. Have you any idea how I can update this please?
My version of Merchello is 1.8.2 and Umbraco is 7.2.4.
Hey yes that works now when I use the ApplicationContext.Current.Services.MemberService. Before I was just using the older umbraco.cms.businesslogic.member which wouldn't have triggered the MemberServiceOnSaving event. Thanks alot. This saved me alot of hassle.
Unable to get the customer LoginName to update
Hi Rusty,
I have an account section as part of my website where the user can update their personal details such as forename, surname and email. I am using the email as the login name. I am able to update the member email/login but I am not able to do it using the Merchello Customer API. The LoginName of the ICustomer interface appears to be read only. Have you any idea how I can update this please?
My version of Merchello is 1.8.2 and Umbraco is 7.2.4.
Thanks in advance!!
Hey Paul,
This should be being updated via the event handler on the membershipservice here:
https://github.com/Merchello/Merchello/blob/merchello-dev/src/Merchello.Web/UmbracoApplicationEventHandler.cs#L425
Is it not working for you?
Hey yes that works now when I use the ApplicationContext.Current.Services.MemberService. Before I was just using the older umbraco.cms.businesslogic.member which wouldn't have triggered the MemberServiceOnSaving event. Thanks alot. This saved me alot of hassle.
Great product! Keep up the good work! :-)
is working on a reply...