Forum Discussion
List Webpart, Document Library and Dynamic Filters
Hello MVCuser
it's looks like an custom development from your colleague. And yes, the time is running and things will be change.
Another good solution is to use PnP Modern Search WebParts, you can build search based solutions with filters or connecting results webparts together. You can see and download PnP Modern Search here: https://microsoft-search.github.io/pnp-modern-search/usage/search-filters/
Best, Dave
- MVCuserAug 19, 2024Copper ContributorThank you Dave, Yes, it is a custom view, I copied the code (JASON) but it does not work.
The search is good, but would not work for this, since you will need to have a key word or know what you are searching for.
Using the filters as done by my colleague will allow you to filter one list, based on another list.
thanks anyways for your help.- DaveMehr365Aug 20, 2024MVP
Hello MVCuser
that's not true.
With the PnP Modern Search WebParts you can...
1. Search a term (Search Box) https://microsoft-search.github.io/pnp-modern-search/usage/search-box/
2. You can use filters based on your search results, like in your case (Search Filters) https://microsoft-search.github.io/pnp-modern-search/usage/search-filters/
3. Or you can connect more then one Search Results WebPart https://microsoft-search.github.io/pnp-modern-search/scenarios/Connect-to-a-search-results-webpart/
Best, Dave
- MVCuserAug 20, 2024Copper Contributor
Hi DaveMehr365 thank you for the links. appreciate all the info.
I do have quite a few pages with PnP searches, but in my case (and i might be doing something wrong) the filters only work after i enter a key word on the search box. Is there a way to change that?
Thank you again for your help.