May 24 2022 05:19 AM
Hi!
Does anybody know how to use the Query Template and Refinement Filters part in PnP Search Results to exlude pages from the search?
I have a Knowledge Hub and created a search page. The Search Result webpart (before i do a search) shows everything in the Site - and i don't want that.
Idealy i will have it blank till a Search word is entered on the Search Box, but has not been able to do that, so i was thinking if maybe using the Refinement Filters i can exlud pages that are just templates.
I do have "FileType:equal("aspx") but i don't know how to say Title does not contain "Main"
i tried so many different things i found online and nothing seems to work.
Any clues?
thanks
May 24 2022 06:31 PM
May 25 2022 01:03 AM