Select an attribute from same entity

Hi …  I am currently working on an app where users should be able to select colleagues as proxies, if they are out of office. So the logic goes like this: User chooses his status → Available OR Out Of Office If the user is Out Of Office, the “choose your proxy” field appears (I do this through visibility and a check against no. 1 above) The user should use a colleague (preferably through a drop down) from the very same entity Any help would be highly appreciated. Thanks.
1 answers

In your domain model create a self-reference from your employee-entity to your employee-entity.

In the page add a reference-selector. You might want to limit the dropdown to only a certain set of the employees. Do that in the last tab of the reference-selector: ‘Selectable objects’