For an entity I have defined some MetaProperties that I use kind of as alternate instance names for different situations. I’m attempting to define custom sorting for these different MetaProperties but I’m running into an issue of how to define the sorting for associated entities.
I see in the docs that I can use the {E} alias to reference the current MetaClass, but I’m unsure how to reference the associated classes.
As an illustration, I have a Visit
entity that is associated with a Pet
and a Vet
, as well as a visitDate
. If I have a MetaProperty petNameVetNameVisitDate
that merges the Pet/Vet/visitDate values, I would like to sort visits first on the associated pet
and then the associated vet
and then the visitDate
. Any guidance on how to implement this?