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
Dual Super User

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.

Join me at 365 and Pwr EduCon in Chicago
EduCon Chicago 2022

robethom
Advocate III
Advocate III

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

 

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.

Join me at 365 and Pwr EduCon in Chicago
EduCon Chicago 2022

Helpful resources

Announcements
Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

<
Users online (2,509)