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 / How to combined multip...
Power Apps
Unanswered

How to combined multiple sharepoint document libraries in Gallery

(0) ShareShare
ReportReport
Posted on by 27

Hello,

 

I have some customized SharePoint Document Libraries. I want to combine all these libraries and display in galleryview with the some option for filter. For example, Each document libraries I have field called Plant. I want give Plant pull down as filter in GalleryView and depending on selected plant I want to fetch items from all the libraries  if files are exist.

 

Please advise or let me know if any article available on this.

Regards

 

Avi

Categories:
  • PowerRanger Profile Picture
    3,458 Super User 2024 Season 1 on at

    @AvianDecosta you could add all your libraries into a single collection and then display that collection in a Gallery.

    1. Add all Libraries as a datasource
    2. Use ClearCollect(colCombinedLibraries,library1,library2,....) to get all items in a single collection


    You could then use the Distinct() function to populate the distinct plant values for your filter dropdown.

    On the Gallery use Filter(colCombinedLibraries,plant = dropdown.Selected.Result)

    (could be that is dropdown.Selected.Value - can 't test this currently)

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • AvianDecosta Profile Picture
    27 on at

    Hello Powerranger.

     

    Thanks for suggesting for adding libraries as datasource, what will happen when new document library will create? Again I will have to update the form and gallery. Is there any way that I can use basetemplate=101 and document library name start with "AL" and filter it?

     

    Regards

    Ashish

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 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard