What is the conditional syntax to check if a gallery item has been selected?
I want to display the office365 userprofile.displayname based on a field (Parole officer email) in the selected gallery item.
If a Gallery item is not selected, the call to office365 generates an error because I am passing it an empty string instead of an email address:
Without a selected item
Office365Users.UserProfileV2(ThisItem.ParoleOfficeEmail).displayName) becomes
Office365Users.UserProfileV2("empty string").displayName)