I think I'm skating around the edges of something that should be obvious, but I haven't figured it out yet. I have found similar questions asked before, but as applied they don't seem to be the answer.
My question: I am creating a collection from a SharePoint list that includes a People column that has the "Allow Multiple Selections" option enabled. So, in other words, the People column can potentially be an array, and even single-entry records are treated as an array, from what I can tell.
I want to perform a LookUp against the Claims property of each Person entry in a specific row to see if it matches a particular individual based on email address, and then extract the DisplayName property for that Person entry. When I have the "Allow Multiple Selections" option disabled, this is fairly easy:
LookUp(
MyCollection,
Person.Claims = "i:0#.f|membership|" & strTargetEmail,
Person.DisplayName
)
But when that Person entry is an array, this doesn't work. I think the answer is probably pretty straightforward, but I can't see the forest for the trees. Can someone help clear up my confusion? Thanks.