SOLVED

Create Search Box and Filter for Items from the List

Copper Contributor

I have created a page in a SharePoint site and added a list as a web part. How can I create a search box and filter to search for and retrieve items from the list?
Thank you.

3 Replies
best response confirmed by arine1901 (Copper Contributor)
Solution

Hello @arine1901 

 

you can use PnP Modern Search WebParts: https://microsoft-search.github.io/pnp-modern-search/

 

In this Solution you have WebPart's for Search Box, Search Vertical, Search Filter and Search Results.

 

Best, Dave

Is there a way to achieve without using PnP Modern Search?
Thank you

Hello @arine1901 

 

you can use and customize the default Microsoft Search Engine (Search box on top: https://learn.microsoft.com/en-us/microsoftsearch/overview-microsoft-search?WT.mc_id=DX-MVP-5004845 ) . This is not highly customizable and it's not an dedicated search box available.

 

Other way is to develop a search box.

 

Best, Dave