Forum Discussion
pnp Search-Ristrect data source to a specific SharePoint Library
I need to get a data source from a specific SharePoint Library I changed the search Query template to
{searchTerms} Path: https://*********.sharepoint.com/sites/AutomationDev/Automation%20Dev/Software/Forms/AllItems.aspx*"
But when I search for folder names in this Library, it didn't give me any results Also, I need to add filters based on the library columns, but it didn't work.
Any help??
1 Reply
you can use this query, with list or library:
{searchTerms} Path: https://*********.sharepoint.com/sites/AutomationDev/Automation%20Dev/Software/
Look at this blog for more help: https://www.mehr365.com/gezielt-inhalt-suchen-mit-der-eigenschaft-path/
You can find more informattions about PnP Modern Search WebParts on this site: https://microsoft-search.github.io/pnp-modern-search/scenarios/
Regards, Dave