Forum Discussion
Kipetcoff
Aug 19, 2022Tin Contributor
SharePoint Query Rules for subsite filtering
Hi, All. I have parent site and several subsites. The task is to filter documents based on the documents name and specific subsite tag. For example searching from parent site gives this result now. ...
- Aug 22, 2022
Hello Kipetcoff
in your PrintScreens you use two different search technologies, in the first one you use Microsoft Search, in the last one you use SharePoint Search in classic, you must choose a technology. Here are an article about different Search Technologies: https://docs.microsoft.com/en-us/microsoft-365/community/microsoft-365-search-technologies
I prefer Microsoft Search oder SharePoint Search with PnP Modern Search Web Parts.
Where is your property stored? In documents or in property bag from your subsite?
Filter in Microsoft Search
Here is the way, how you can configure Search Filters in Microsoft Search: https://www.mehr365.com/microsoft-search-filter-in-standard-verticals-hinzufuegen/
Filter in SharePoint Search with PnP Modern Search Web Parts
In this article you can find the configuration for your PnP Modern Search Web Parts: https://microsoft-search.github.io/pnp-modern-search/scenarios/page-with-filters/
In this Blog from JoanneCKlein you see a example how you can set and use properties with the property bag: https://joannecklein.com/2021/09/24/adaptive-scope-retention-policy-a-walk-thru/
I know, a lot information but i hope, this helps. Come back to us when you have more questions.
Have a good day and best regards,
Dave
DaveMehr365
Aug 22, 2022MVP
Hello Kipetcoff
in your PrintScreens you use two different search technologies, in the first one you use Microsoft Search, in the last one you use SharePoint Search in classic, you must choose a technology. Here are an article about different Search Technologies: https://docs.microsoft.com/en-us/microsoft-365/community/microsoft-365-search-technologies
I prefer Microsoft Search oder SharePoint Search with PnP Modern Search Web Parts.
Where is your property stored? In documents or in property bag from your subsite?
Filter in Microsoft Search
Here is the way, how you can configure Search Filters in Microsoft Search: https://www.mehr365.com/microsoft-search-filter-in-standard-verticals-hinzufuegen/
Filter in SharePoint Search with PnP Modern Search Web Parts
In this article you can find the configuration for your PnP Modern Search Web Parts: https://microsoft-search.github.io/pnp-modern-search/scenarios/page-with-filters/
In this Blog from JoanneCKlein you see a example how you can set and use properties with the property bag: https://joannecklein.com/2021/09/24/adaptive-scope-retention-policy-a-walk-thru/
I know, a lot information but i hope, this helps. Come back to us when you have more questions.
Have a good day and best regards,
Dave
Kipetcoff
Aug 23, 2022Tin Contributor
Thank you for your recommendations. I will compare different approaches, I think it will be old-fashioned classic technology.