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
I have a general search page where all the searches will be forwarded from my sharepoint site with the following structure
"SitePages/Search.aspx?q=686723&k=686723"
On this search page i have a PNP searchbox and a PNP search result with the following Query Template
"
{searchTerms}
(Path: "https://x.y.com/sites/INTRA/" OR Path: "https://x.y.com/sites/Extra/") AND (RefinableString150:a* OR RefinableString150:b* OR RefinableString150:c* OR RefinableString150:d* OR RefinableString150:e* OR RefinableString150:f* OR RefinableString150:g* OR RefinableString150:h* OR RefinableString150:i* OR RefinableString150:j* OR RefinableString150:k* OR RefinableString150:l* OR RefinableString150:m* OR RefinableString150:n* OR RefinableString150:o* OR RefinableString150:p* OR RefinableString150:q* OR RefinableString150:r* OR RefinableString150:s* OR RefinableString150:t* OR RefinableString150:u* OR RefinableString150:v* OR RefinableString150:w* OR RefinableString150:x* OR RefinableString150:y* OR RefinableString150:z*) AND DepartmentId:{{Hub.HubSiteId}} AND IsDocument:True
"
) I searched a lot but i don´t find a way how to get search working with URL Param or with the Searchterm in the same query
) Is there a way for RefinableString150!="" instead of this long query
I use PnP Modern Search - Search Web Parts - v4 (V4.0.0.0)
This discussion was converted from issue #1409 on October 16, 2021 09:39.
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
-
I have a general search page where all the searches will be forwarded from my sharepoint site with the following structure
"SitePages/Search.aspx?q=686723&k=686723"
On this search page i have a PNP searchbox and a PNP search result with the following Query Template
"
{searchTerms}
(Path: "https://x.y.com/sites/INTRA/" OR Path: "https://x.y.com/sites/Extra/") AND (RefinableString150:a* OR RefinableString150:b* OR RefinableString150:c* OR RefinableString150:d* OR RefinableString150:e* OR RefinableString150:f* OR RefinableString150:g* OR RefinableString150:h* OR RefinableString150:i* OR RefinableString150:j* OR RefinableString150:k* OR RefinableString150:l* OR RefinableString150:m* OR RefinableString150:n* OR RefinableString150:o* OR RefinableString150:p* OR RefinableString150:q* OR RefinableString150:r* OR RefinableString150:s* OR RefinableString150:t* OR RefinableString150:u* OR RefinableString150:v* OR RefinableString150:w* OR RefinableString150:x* OR RefinableString150:y* OR RefinableString150:z*) AND DepartmentId:{{Hub.HubSiteId}} AND IsDocument:True
"
I use PnP Modern Search - Search Web Parts - v4 (V4.0.0.0)
Beta Was this translation helpful? Give feedback.
All reactions