How to create a search function for a modern list view webpart

Jon A 0 Reputation points
2023-07-14T12:23:08.9766667+00:00

Hi,

Ive created a modern sharepoint site with a list view webpart and I really need to be able to provide users with a search function. This was possible with the classic sharepoint but I can’t seem to get working on a modern site. If anyone could help that would be great! Ps I’m not looking to use the search banner at the top

Microsoft 365 and Office SharePoint Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 51,836 Reputation points Microsoft External Staff
    2023-07-17T09:25:38.55+00:00

    Based on your description, I understand that you want to do modern search but not use OOTB search box in the modern pages.

    You could deploy PnP Modern Search v4 SPFx web part to do modern search.

    Reference: https://microsoft-search.github.io/pnp-modern-search/


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.