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.
GetStandardPropertyTypeStubs() in Umbraco 10?
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?Note: I am using this builtins like this to get the MemberProperties of a model
If there is any other way to get the memberproperties that would be helpful too.
is working on a reply...