Forum Discussion
francescjp
Jan 04, 2024Copper Contributor
Webpart - Filter list dinamically in frontend
Hello:
I want to build a webpart where user can filter dinamically, In frontend view, one sharepoint list. I also need to controll the style of each item.
Anyone knoes how to do it?
Thank you very much
Francesc
Hello @francescjp
i think the best way is to create a custom search page with filters. You can create a dynamic search page with PnP Modern Search Web Parts: https://microsoft-search.github.io/pnp-modern-search/ You can use more filters with and/or operations. Here are an example scenario about dynamic filters: https://microsoft-search.github.io/pnp-modern-search/scenarios/use-query-string-in-url/
Here are an other way from @joaoferreira with list filtering: https://sharepoint.handsontek.net/2021/02/02/filter-sharepoint-lists-dynamically/
Best, Dave
2 Replies
Sort By
Hello @francescjp
i think the best way is to create a custom search page with filters. You can create a dynamic search page with PnP Modern Search Web Parts: https://microsoft-search.github.io/pnp-modern-search/ You can use more filters with and/or operations. Here are an example scenario about dynamic filters: https://microsoft-search.github.io/pnp-modern-search/scenarios/use-query-string-in-url/
Here are an other way from @joaoferreira with list filtering: https://sharepoint.handsontek.net/2021/02/02/filter-sharepoint-lists-dynamically/
Best, Dave
- francescjpCopper ContributorHello DaveMehr365:
PnP Modern Search seems to be the solution I was looking for. I need to activate api access to give it a try. Thank you for your help. I hope it works with Microsoft lists as i need.