Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refinablestrings in SharePoint search webparts do not come through #4461

Closed
jvrc98 opened this issue Oct 21, 2024 · 0 comments
Closed

Refinablestrings in SharePoint search webparts do not come through #4461

jvrc98 opened this issue Oct 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jvrc98
Copy link

jvrc98 commented Oct 21, 2024

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.
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.
2024-10-21 14_50_32-Deelnemers

Actual behavior

But the result for the refinablestring in the search results is 'null':
search refinablestring:
2024-10-21 14_43_25-Managed Properties
debug output search results pnp component:
2024-10-21 14_44_27-Deelnemers

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')
@jvrc98 jvrc98 added the bug Something isn't working label Oct 21, 2024
@jvrc98 jvrc98 changed the title Refinablestring that has two columns (each from different list) does not come through Refinablestring do not come through Oct 21, 2024
@jvrc98 jvrc98 changed the title Refinablestring do not come through Refinablestrings do not come through Oct 21, 2024
@jvrc98 jvrc98 changed the title Refinablestrings do not come through Refinablestrings in SharePoint search webparts do not come through Oct 21, 2024
@pnp pnp locked and limited conversation to collaborators Oct 21, 2024
@gautamdsheth gautamdsheth converted this issue into discussion #4462 Oct 21, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant