cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
robethom
Advocate III
Advocate III

Search Inside of Documents From Power Apps

Greetings:

 

I've developed a power app that uses several SharePoint Document Library & list as data sources.   The app serves as an interface that ties all the list together in a simple, interface that can be filtered down and searched by document titles.  Recently I've gotten a request for the search to look inside the documents.  I know that the standard 365 SharePoint search has this ability.  I'm trying to replicate this within the power app.

3 REPLIES 3
Pstork1
Dual Super User III
Dual Super User III

The only way to do this would be to use a SharePoint HTTP Rest call to query the Search Service in SharePoint.  There is no easy way to do that from inside Power Apps.  But it can be done fairly easily from a Power Automate flow which you can call from Power Apps.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
robethom
Advocate III
Advocate III

Thanks. Would you happen to know of any documentation I can reference for either of these methods?

 

Pstork1
Dual Super User III
Dual Super User III

Here's the Microsoft docs on how to call the Search API.  You use the code from the REST section.

Using the SharePoint search Query APIs | Microsoft Docs

And here's a walkthrough on how to call a REST api using Power Automate.

User guide to using the SharePoint REST API in Power Automate for no-code developers (sharepains.com...



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,528)