Forum Discussion
Limiting Search Box Results to Wiki Page Library
I have created a Wiki Page Library for a knowledge base our team uses and added a search box.
I would like the search box to only bring back results from the library, not the entire site, but this doesn't seem to be possible. I've looked at 'edit web part' including in the advanced section but am none the wiser.
2 Replies
- Rob_ElliottBronze Contributor
For a very short time I was a director of a major wiki development company. Even back then in 2011/12 Microsoft's wiki offering was rubbish and it hasn't been developed in any way since. I wouldn't use it. Using a combination of SharePoint lists, libraries and Power Apps will require more work to set up but will give you a much better solution.
Rob
Los Gallardos
Microsoft Power Automate Community Super User.
Principal Consultant, Power Platform, WSP Global (and classic 1967 Morris Traveller driver) Hi aliceuwe
you can use PnP Modern Search WebParts https://microsoft-search.github.io/pnp-modern-search/ to create custom search pages.
With PATH parameter you can search only in a library:
Path:“https://<TENANT>.sharepoint.com/sites/MSTEvents/Shared%20Documents/“
More informations: https://www.mehr365.com/gezielt-inhalt-suchen-mit-der-eigenschaft-path
Best, Dave