Aug 11 2020 08:55 AM
Following the recent(ish) release of the PnP Modern Search tools for SP Online I have a specific need...
On a site page add a search box which will only search a specific list that I have created.
I can build the search box and the results and I have them connected but by default I think it searches the whole tenant for any potential matches. I want it to search a specific list only for matches. How can I do that...
re: https://microsoft-search.github.io/pnp-modern-search/search-parts/search-results/
Aug 24 2020 04:05 PM
SolutionI have able to solve this myself after alot of research...
I have created scenarios where I'm searching a single list and another where I search 4 specific site collections and populate the values using the search verticals after creating 4 different results sources.
I think the support docs could be cleaner for citizen developers and given the use case I would expect to be a considerable number of the folks trying this.
Search a specific list:
Search 4 sites (in one results source)
Jun 23 2021 02:46 PM
@sasrsc Can you share how you were able to connect the modern search web parts to a list you created yourself?
Thanks
Oct 06 2021 09:20 PM
@sasrsc I also need to know how to connect my Search Results Web Part to a SharePoint list (it's currently showing results from our entire company SharePoint site)
Aug 24 2020 04:05 PM
SolutionI have able to solve this myself after alot of research...
I have created scenarios where I'm searching a single list and another where I search 4 specific site collections and populate the values using the search verticals after creating 4 different results sources.
I think the support docs could be cleaner for citizen developers and given the use case I would expect to be a considerable number of the folks trying this.
Search a specific list:
Search 4 sites (in one results source)