microsoft-search / pnp-modern-search

Home of PnP Modern Search solutions, helping you move from classic to modern SharePoint and beyond
https://microsoft-search.github.io/pnp-modern-search
Other
379 stars 336 forks source link

RefinableString for metadata not working #453

Closed NicoFabr closed 3 years ago

NicoFabr commented 4 years ago

!! Check existing issues before logging new ones !!

Version used Ex: 3.14

Describe the bug Hello,

the mapping of the RefinableString for metadata doesn't seem to work for me. I Configured the managed properties like this:

grafik

Configuration of the refiners:

grafik

But when I try to search Documents, the Refiner is not showing up... Any ideas?

wobba commented 4 years ago

Check that you have connected the result and refiner web part. Verify that you are actually getting data back for the metadata property. You can verify that using network trace, SharePoint Search Query Tool, PnP search cmdlets etc.

NicoFabr commented 4 years ago

Thanks so much for your help, I am going to try and see if something shows up using PnP. The webparts are definitely connected since the first 3 refiners work perfectly. Just not the metadata tag by itsself... :/

wobba commented 4 years ago

Verify that your items you return actually have a value in the property. That's step 1. I'll shamelessly plug https://www.amazon.com/Troubleshooting-Search-SharePoint-Online-solving/dp/1080506411 and you can find pieces of info on my blog and other places as well.

wobba commented 3 years ago

Closing due to inactivity.

renatoromao commented 3 years ago

Hi @wobba ,

I'm getting the same issue. I can filter on the Search box, and also I can show this column inside the Search Results. But when I insert inside the Refiners and is not showing.

Columns with issue: Choice Metadata field (Taxonomy)

wobba commented 3 years ago

@renatoromao please don't comment on closed issues - and before logging an issue verify that your Refinable property return data via the e.g. the SharePoint Query Tool or configuration of classic web parts. Data questions are outside the scope of the web part project so please verify first if you request the correct property, and that it returns data.

If data is coming back, and the web parts are not rendering it, that's a issue to deal with.