Hi,
I've created a User Directory which pulls their location from a SharePoint list with a People column linked to O365 to match the user up with their photo. I'd like to link the Gallery to a Search and a Filter, I've written the following... but I get a Boolean error on the below code...
Filter(
AddColumns(
'People Locations',
"UserPhoto",
If(
// check if the the user has an email and a profile picture
!IsBlank(FullName.Email)
And Office365Users.UserPhotoMetadata(FullName.Email).HasPhoto,
// get the profile picture
Office365Users.UserPhotoV2(FullName.Email)
)
),
Office365Users.SearchUser(
{
searchTerm: Trim(TextInput2.Text),
top: 999
}
),!IsBlank(City))