hi, i have an app with a map component and a gallery, both showing people with their names, pics and location.
Everything works fine but i have 2 questions.
- inside my info card i want to show the name of the person in that pin or the name of the location, sadly they are Complex data type field. Normally i get the name with User.DisplayName and the location with Location.City. In my search filter i fixed it with "AddColumns(mydatasource, "name", User.DisplayName)". But how can i do that inside my info card????
- I'd like to be able to click on a pin and the gallery should give me only people coming from that location. considering the items element of my gallery gets data with Search(mydatasource, searchValues, "username") where searchValues is a data set by a searchbar input field where i can write name or location, how can i do that?
thank you so much