Oct 27 2022 03:17 AM
I created a webpart page,and i added search box webpart and also i added list,Based on the search box whatever typing it will filter the list Items.
Oct 27 2022 05:29 AM
@Jaswanthi Which version of SharePoint are you using? Are you using classic experience or modern experience?
For classic experience, check if connected web parts in SharePoint helps you with your requirements OR you have to use search box and search results web part for more flexibility.
In modern experience, you can use PnP Modern Search web parts
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Oct 27 2022 05:32 AM
Oct 27 2022 05:34 AM
Oct 27 2022 08:12 AM
@Jaswanthi You cannot directly filter list view (in list web part) using search box web part.
You have to use search box web part and connect it with search results web part with search query which brings results from only one list.
For more information, check:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Oct 31 2022 03:25 AM
Oct 31 2022 03:28 AM
@Jaswanthi Can you try using PnP Search Box web part with Search Results web part?
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Oct 31 2022 03:52 AM
Oct 31 2022 04:01 AM
@Jaswanthi You have to write search query using Path to retrieve/filter items from specific list only, like:
path:https://contoso.sharepoint.com/sites/sitename/Lists/yourlist contentclass:sts_listitem
Check:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Oct 31 2022 04:32 AM
Oct 31 2022 05:51 AM
@Jaswanthi You have to select "SharePoint Search" as a data source and pass the search query in Query text section.
Read the documentation given in 2nd link in my above response.
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Oct 31 2022 06:23 AM