Forum Discussion
oskarkuus
Jun 01, 2023Copper Contributor
Search on one page - faq page with search function at top?
Hi I wonder if it is possible to create a page that have a search bar that can be used to search on that page. A page that allow the users to search the content on that specific page ...
Jun 03, 2023
Hej!
So Search result is the main webpart and from this webpart you select the other webparts that you want to feed into it. So you select your added Searchbox that you want to retreieve your results from, and filter where you want to filter from.
Read the PnP Search Documentation, it's amazingly good:
https://microsoft-search.github.io/pnp-modern-search/usage/search-results/
So Search result is the main webpart and from this webpart you select the other webparts that you want to feed into it. So you select your added Searchbox that you want to retreieve your results from, and filter where you want to filter from.
Read the PnP Search Documentation, it's amazingly good:
https://microsoft-search.github.io/pnp-modern-search/usage/search-results/
oskarkuus
Jun 04, 2023Copper Contributor
How do i get PnP search?
I dont have that
Search Box and Search Result have a different configuration UI. I dont understand how to set the datasource in my search. I dont have the options that the documentation are pointing at.
- Jun 04, 2023You have PnP Search, those webpart are from there.
Just add the search box and Results, configure the result to use the searchbox and select where It should query from- oskarkuusJun 04, 2023Copper Contributor
Yes but i fail with the configuratiin. I want results from the site only and i want only result from pages.
But all guides show pictures of configurations options that i dont have!
- Jun 04, 2023
Download the latest PnP Package and update the webparts in the app catalog.. It's probably running an old version considering that you didn't now it existed.
Send me a PM if it's easier for you if I take it in swedish