Forum Discussion
adeelkhalid
Oct 24, 2019Copper Contributor
SharePoint Search Querry
Hello folks how are you doing?
I need help with the following scenerio in SharePoint
One hub site (H) contains multiple sub sites (A,B,C....)
A,B,C site contains folder name as TEMPLATES. same name with different files in it.
I want to edit the search option (If possible)
I want that when I search for the Templates in H site search result should pop up the files in every site discarding the folders that is TEMPLATES.
Please suggest. I would be grateful.
Thank you
I need help with the following scenerio in SharePoint
One hub site (H) contains multiple sub sites (A,B,C....)
A,B,C site contains folder name as TEMPLATES. same name with different files in it.
I want to edit the search option (If possible)
I want that when I search for the Templates in H site search result should pop up the files in every site discarding the folders that is TEMPLATES.
Please suggest. I would be grateful.
Thank you
1 Reply
Sort By
adeelkhalid I'm not complete sure if this is what you want but I did something similar using "React Search Webparts" https://github.com/SharePoint/sp-dev-solutions/tree/master/solutions/ModernSearch/react-search-refiners
I did the following:
- created a content type and applied it to each library that contained template documents
- created a managed property
- used React Search webparts to create a search page
- filtered the results by Content Type and added refiners for the managed properties
The search returns items for the specific content type across all sites