I am using umbraco identity which is working fine, i am trying to update member custom property using memberservice but error occurred "No PropertyType exists with the supplied alias ", i can see the member with all properties.
var ms = ApplicationContext.Current.Services.MemberService;
Umbraco.Core.Models.IMember mem = ApplicationContext.Current.Services.MemberService.GetById(user.Id);
mem.SetValue("somalias",value);<---error
No PropertyType exists with the supplied alias
Dear Experts,
I am using umbraco identity which is working fine, i am trying to update member custom property using memberservice but error occurred "No PropertyType exists with the supplied alias ", i can see the member with all properties. var ms = ApplicationContext.Current.Services.MemberService; Umbraco.Core.Models.IMember mem = ApplicationContext.Current.Services.MemberService.GetById(user.Id); mem.SetValue("somalias",value);<---error
Please help.
Thanks
Hi Rizwan
Be sure that the member has this property. How did you check that the member has this property?
Alex
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.