Hello Experts,
In my canvas app, I am using
1) Users Entity
2) Custom entity called Routes
Routes has a lookup field called Courier that has Users Entity as a related entity.
I have two requirements:
1) I want a gallery that shows the list of distinct couriers as Routes can have more than one row associated with one courier.
2) I want to have Search text box as well which can search couriers bases on Full Name for example which is a field in Users Entity.
What I have tried so far:
1) I have not been able to do Users.Routes (It says the specified column is accessible in this context)
2) Distinct(Routes, Courier).Result (This works for requirement #1 but I do not know how to make search work (requirement #2))
So, is there a way to get only the distinct records from Users entity that are referenced in Routes entity?