I've figured out how to get results from the Sharepoint's Search REST API into my powerapp. To do so I create a collection for the returned document titles from the search. What I can't figure out is how to filter my gallery based on the Title column in the collection.
In the Items for the gallery I have Filter(DocLibrary, Title in _apiResults.Title)
Then in onChange for the text input search box, I have ClearCollect(_apiResults,SPSearchAPI.Run(tbSearchInput.Text))
SPSearchAPI is the Flow that does the http get request, then parses the data and returns just the titles that returned in the search.
When I type in a search term, I do get results, but they don't match all of the results in the collection. Some do, but some don't. For instance, for one search the collection has two results, but only one is displayed in the gallery. Can anybody help?
Thank you!