Forum Discussion

RoBhatt93's avatar
RoBhatt93
Copper Contributor
Apr 14, 2020
Solved

Create a library of documents with dropdowns to filter by keywords

Hello! I am building a Communication Site in SharePoint and want to build a page that allows me to have project files saved with certain keywords (e.g., project type), then to have a dropdown for "pr...
  • RobElliott's avatar
    RobElliott
    Apr 14, 2020

    RoBhatt93 despite what jcgonzalezmartin has said, you will NOT need a developer for this. That's the great thing about Power Automate, Power Apps and the integration with modern SharePoint: you can do it yourself.  It is not difficult to do this in Power Apps and my example below was produced in less than 15 minutes while having dinner. Fortunately my wife was out playing mahjong or I'd have been in trouble. I'm not a developer but an intranet manager. It took longer to do the screenshots!

     

    In this example the document library is named MatrixLib and there is a column called ProjectType:

     

     

    In Power Apps we've added a dropdown, named it ddProjectType and just got the distinct values from the ProjectType column of the SharePoint library:

     

     

     

    We've then added a gallery and filtered it to show only the the documents from the library where they equal the selected item from the dropdown:

     

     

    The Power Apps web part can then be embedded in a page on the site:

     

     

    This is the result:

     

     

    Come back with any questions if something isn't clear or you need a bit more assistance. 

     

    Rob
    Los Gallardos
    Microsoft Power Automate Community Super User

Resources