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
I am migrating an existing application from Umbraco 8 to Umbraco 10 and also the framework to .net 6. I am stuck on this line of code as "Member" class doesnt have a method named GetStandardPropertyTypeStubs() anymore. Annyone have any idea as to where this has shifted to or if there is a replacement for it?
var builtIns = Umbraco.Cms.Core.Constants.Conventions.Member.GetStandardPropertyTypeStubs().Select(x => x.Key).ToArray();
Note: I am using this builtins like this to get the MemberProperties of a model
var memberType = _memberTypeService.Get(memberTypeAlias);
var model = new RegisterModel();
model.MemberProperties = GetMemberPropertiesViewModel(memberType, builtIns).ToList();
If there is any other way to get the memberproperties that would be helpful too.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted