This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Refinablestrings in SharePoint search webparts do not come through #4461
Labels
bug
Something isn't working
Reporting an Issue
We want to add two lists together in one SharePoint search using the pnp components (this works).
So each item from a list is one item in the search. (So if list A has 50 items and list B 60, we have 110 items in the search.)
Expected behavior
These two lists have columns that are named differently, but the goal is to add one column (f.ex. 'Archivetheme') from list A and one column (f.ex. 'Theme') from list B under one column in the search by using a refinablestring that contains both columns.
![2024-10-21 14_50_32-Deelnemers](https://private-user-images.githubusercontent.com/185798994/378431545-5312f06e-24f1-4b24-a936-18ed553f4bcf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTk1NDUsIm5iZiI6MTczOTAxOTI0NSwicGF0aCI6Ii8xODU3OTg5OTQvMzc4NDMxNTQ1LTUzMTJmMDZlLTI0ZjEtNGIyNC1hOTM2LTE4ZWQ1NTNmNGJjZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQxMjU0MDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lMmI0MGE0MzhmNTgyYzVhMzI4NTQxM2ZhZmRmNTgxOWNjY2Y5YTAwZGUxOTFhYWZjZDk5NDk0NjlhODczZTUyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.7PqZBIA8kcWUWQ8jH2EsMOk0tUgcwSaP4EtIrxRTyN8)
The first item is one from list A, so only column 'Archivetheme' has a value and shows the output (column 'Theme' value is null).
If the item is from list B, the column 'Theme' has a value, but column 'Archivetheme' from list A not.
Actual behavior
But the result for the refinablestring in the search results is 'null':
![2024-10-21 14_43_25-Managed Properties](https://private-user-images.githubusercontent.com/185798994/378429300-7f6fadcf-8732-47f0-bed4-de085edc13e0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTk1NDUsIm5iZiI6MTczOTAxOTI0NSwicGF0aCI6Ii8xODU3OTg5OTQvMzc4NDI5MzAwLTdmNmZhZGNmLTg3MzItNDdmMC1iZWQ0LWRlMDg1ZWRjMTNlMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQxMjU0MDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xMmZlNzJmM2MyMjc3MzdmN2YyMjkzZmEyM2ZiNjQyNWMyZTJjNDU5NmVlMGYzMThlMWM5ZjcyMjk0ZjU2ZDI1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.fLbvjtsmC_2GyNyWywh0wMsHCv8Py2184QzKK4-MGrI)
![2024-10-21 14_44_27-Deelnemers](https://private-user-images.githubusercontent.com/185798994/378429292-514d5086-5d74-49e9-8cf0-d4bfa79ddf9d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTk1NDUsIm5iZiI6MTczOTAxOTI0NSwicGF0aCI6Ii8xODU3OTg5OTQvMzc4NDI5MjkyLTUxNGQ1MDg2LTVkNzQtNDllOS04Y2YwLWQ0YmZhNzlkZGY5ZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQxMjU0MDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jNWI2YmExZTUzNzhjYTJjNjdhNjU2NmMzNmM2NDRhNzkxMDU5YzAzOTZlNjNkZDRlYTYwODc2OTdkNTkyM2Y1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.d7qrltZzBFYFVEIZdy6cO8ioAugJouKDZa6fDkEcFzQ)
search refinablestring:
debug output search results pnp component:
Anyone who knows the solution to this problem?
It seems that our refinablestrings always give 'null' as a result (also with this Title ref.string: Basic:#10, ows_Title, Title).
I would like to use this refinablestring in the filter webpart eventually.
What we already tried
--> but the refinablestring still gives no value/output (just 'null')
The text was updated successfully, but these errors were encountered: