Hi all, I am having trouble with retrieving propery alias.
I need to do something like this here:
var NameAlias = memberModel.Name.Alias;
This is how my code looks like now:
var currentMember = Members.GetCurrentMember();
MemberProfileDetails customModel = new MemberProfileDetails();
Member memberModel = new Member(currentMember);
customModel.CompanyId = memberModel.Id;
// Company Details
customModel.CompanyName = memberModel.Name;
How to get property alias
Hi all, I am having trouble with retrieving propery alias.
I need to do something like this here:
This is how my code looks like now:
Hello Josip,
To get a property alias based on a generated model you can try like this :-
Also, refer this(https://our.umbraco.com/packages/developer-tools/ditto/ditto-feedback/79462-umbraco-property-type-alias-of-the-property-beeing-processed)
is working on a reply...