I have a canvas app with a Gallery control. Above the Gallery control is a TextInput box (TextInput1).
Names entered into the TextInput box show the search results in the gallery. Currently I am using this formula:
Office365Users.SearchUserV2({searchTerm:TextInput1.Text,top:10}).value
Now I would like to narrow down the search results by showing only users where CompanyName is "My Company Name". CompanyName is another attribute from the Office365Users connector. I don't want this to be shown on the form but hardcoded in the formula.
Can I add another searchTerm like CompanyName="My Company Name" into the formula above? What's the best way to do this?
Thanks!