Forum Discussion
RogerCP66
Mar 29, 2024Copper Contributor
SharePoint PnP Modern Search v4 to Display results from a specific folder in a library
Hello, I am trying to setup PnP search on a site to return results from a specific folder in another site. When I connect the results display, I am able to get the search results working and showing...
- Mar 29, 2024
Hello RogerCP66
when you wann configure filters, you need to use the Filters WebPart
: https://microsoft-search.github.io/pnp-modern-search/usage/search-filters/
In your use case you need a Results WebPart and a Filter WebPart, connect both together and it would be work.
Maybe this article can help you: https://www.mehr365.com/dokumente-aus-einem-spezifischen-ordner-durchsuchen/
Best, Dave
RogerCP66
Copper Contributor
Not sure I understand, I dont want to create filters. i want to be able to search using the search box option but it is not working or returning any results. Are you saying I need to have both filters and search configured for the search box to work?
DaveMehr365
Apr 10, 2024MVP
Hello RogerCP66
you can only use a Search Box Web Part and a Results Web Part, Filters are optional.
Best, Dave