Forum Discussion

DylanBrown's avatar
DylanBrown
Copper Contributor
Jan 20, 2025

Searching on SharePoint via Tags

Hi All,

 

I have recently set up some tags through the term store and have started to apply them to documents within my SharePoint Document Library. When searching for them, I have been using the filter, selecting "Tags" and then listing all the tags I'm looking for. The issue is, it returns any document that contains any of the tags I list when I want it to only list documents that have all of those tags attached.

 

I did some research and it seems as though it isn't something you can amend, so the work around was to set up a custom search page and add a filter that allows the user to click what tags they want to search for. I added a custom PnP Modern Search Web Part which I think may give me what I need but when I add it I get the below error message?

 

 

 

 

 

 

 

 

Any ideas?

  • Hi DylanBrown 

     

    it's looks like, you use a older classic page, create a new modern page and add the PnP Modern Search WebParts.

     

    Best, Dave

    • DylanBrown's avatar
      DylanBrown
      Copper Contributor

      Hi Dave,

       

      Pretty sure the page is a modern SharePoint page but may be wrong?

       

      • DaveMehr365's avatar
        DaveMehr365
        MVP

        Hi DylanBrown 

         

        the site looks like modern, but the page, where you add the search webparts, looks like classic...

        This ist a modern page....

        Best, Dave

Resources