web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Setup search for docum...
Power Apps
Unanswered

Setup search for document library in power app

(0) ShareShare
ReportReport
Posted on by 319

Hello,

 

Can anyone please guide me how can I setup a Search on a document library I have imported from an site. The document library imported shows as DataTable1 in Power app.

 

I would like create a search box which points to this document library which has multiple columns like Legal No, project no etc.

 

The requirement is on entering the legal No in the search box  I should be able to fetch the corresponding details from the document library and display it on may be a text box ?? not sure though.

 

Can you please guide me through here. Setup search for document library in power app 

Categories:
  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @Prathameshpatka ,

    Could you describe more clearly about what data in your document library do you want to filter based on?

    In powerapps, you could only filter based on data like : fields, folder names, whether is folder, whether is file.

    Please notice that:
    it's not supported t search based on file content of document library in powerapps.

    In powerapps, you could not get the file's content.

     

    If you want to filter based on the library data, you could set like this:

    1)connect with this library

    2)insert a textinput

    3)set the gallery's Items:

    Filter(Documents,TextInput2.Text in 'Full Path'||
     TextInput2.Text in Title||
     TextInput2.Text in Name...
    )
    //'Full Path',Title,Name are all fields in this library
    

     

     

    Best regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 320

#3
Mohsin Ali Profile Picture

Mohsin Ali 246

Last 30 days Overall leaderboard