Hi,
I have a gallery that displays user data.
I would like to filter the gallery based on the logged in user as follows:
When a new application is created, the logged in user will need to complete a form and select the supervisor name and/or the department manager name from the drop down lists.
The request is saved to a sharepoint list.
We need to be able to filter the gallery as follows:
If the user is a manager, then filter all requests where the manager name field = drpmanager.selected.value.
If the user is a supervisor, then filter all requests where the supervisor name field = drpsupervisor.selected.value.
If the user is a HR manager, then display all requests.
If the user is the logged in user, then only show the user's request.
Kind regards
Rene Voller