Forum Discussion
sites - Filter dinamically list in sites
Hello:
I use a Sharepoint list in one site. I have used json code in order to customize list view. Now, I need to use a dinamic filter where user can filter the list using diferent criterias. Is there an example or tutorial that shows how to do it?
For example if we have an hotel list, user must can filter view by room number, and/or by price, and/or by services, etc..
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