You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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':
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
to add the values to new refinablestrings
created a new page
--> but the refinablestring still gives no value/output (just 'null')
This discussion was converted from issue #4461 on October 21, 2024 14:57.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MTE5MzYsIm5iZiI6MTczODkxMTYzNiwicGF0aCI6Ii8xODU3OTg5OTQvMzc4NDMxNTQ1LTUzMTJmMDZlLTI0ZjEtNGIyNC1hOTM2LTE4ZWQ1NTNmNGJjZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwN1QwNzAwMzZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iOGU1MTk4YjNhYzE3OWNlNGQzNmI4OTRmNWU3YTE5NWViNDQyNGFlZjNhYjk3YTdiNTgzNjExOTg3NzM5Y2UyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.gOGtGqcQu4FVpkgkTIXf_wDnHgeMPa6n7E74eEa32m8)
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MTE5MzYsIm5iZiI6MTczODkxMTYzNiwicGF0aCI6Ii8xODU3OTg5OTQvMzc4NDI5MzAwLTdmNmZhZGNmLTg3MzItNDdmMC1iZWQ0LWRlMDg1ZWRjMTNlMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudG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P0xBjnzvekq02iXY7ej1TNL8H_mLAFqqCjiUsqJYIo)
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')
Beta Was this translation helpful? Give feedback.
All reactions