I recently installed PnP Modern Search 4.0 for a SharePoint Teams site.

Out of the box, it seems like it's searching every file in every SharePoint site in my organization. I want it to only search a single list in my SharePoint site.

I have consulted documentation from various sources and YouTube videos for hours, but I'm not getting very far with it.

  • You can either provide KQL query text or result source ID to limit the search results. Check this documentation. Jul 16 '21 at 16:28
  • I've read through that documentation. Can I get some help with my particular situation?
    – Robby
    Jul 19 '21 at 12:48

You could use following query in the Query template.

{searchTerms} path: https://tenant.sharepoint.com/sites/Echo/Lists/emilytest

enter image description here

  • Thank you! That worked. Where can I find more information about what I can put in this Query template box?
    – Robby
    Jul 20 '21 at 19:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.