I have a form that a requester will fill out. Towards the end they need to choose from a People/Group picker for their approver.
Once the requester submits the form, it goes off to the Approver to Approve/Deny based on an email they receive that will provide a link to a new screen within the APP for approvals. This new screen is setup with a Gallery so they can see all approvals that were assigned to them.
From what I've found, it isn't possible to set a Gallery to Filter or LookUp based on a People column from SP. So I want to have a hidden field on the requester's screen that then they select their Approver, it will auto fill a text field. This will allow me to filter in the Gallery.
Person/Group columns are complex objects, so you can't use the column by itself to filter. But you can filter using the properties of the person/group column. For example, email or display name. You have to specify the property though.
I tried adding the .DisplayName, but seems like something isn't happy still.
The datacard with the people picker:
Here is the Items for the Gallery:
Your code is trying to match the DisplayName for the current user against the full Approver column. You should do two things.
Check out the on demand sessions that are available now!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Features releasing from October 2020 through March 2021
Check out the Power Platform Community Highlights