Forum Discussion
Embed Sharepoint List Columns to Filter & Search Results using PNP Modern Search Web Parts
Hi Community,
We are trying to add Sharepoint List to Results & Filter Web Part of PNP but we are not able to achieve it has someone ever achieved this? As we want our client to get filter based on List as well as Search Box.
8 Replies
Hello vrush96
have you more informations and PrintScreens?
Best, Dave
P.s.: Tag SharePoint Embedded??? 😕
- vrush96Copper Contributor
Hi DaveMehr365,
We have one managed metadata column called "FilterableMD" i want this column to be searchable as well as filterable in my web parts but managed metadata columns are not allowed to be added to web parts for search/filter so we need to mapped it with predefined managed property which we did in our case but i am not able to add it to property of web part when editing the search/filter PNP modern search web part.
PS: We have already logged a call with Microsoft Support for the issue.
Reference Link: https://learn.microsoft.com/en-us/sharepoint/manage-search-schema
Steps are performed as per document but still not able to add it to search and filter and it is already past 24 hours now.
Hello vrush96
that's right, you need to use an existing RefinableStringXX managed property to map your crawled property.
After that, add your managed property in a PnP search results WebParts and type it in "selected properties" and press enter, or choose the RefinableStringXX , when its available. After that you can use the RefinableStringXX in the webparts. See also in this article https://microsoft-search.github.io/pnp-modern-search/scenarios/page-with-filters/
Best, Dave