Replies: 1 comment 2 replies
-
The URL's you list are for out of the box search in SharePoint, not pertaining these web parts. Using the pnp search box with the out of the box results page is not a highly intended scenario. When you link to https://mycompany.sharepoint.com/_layouts/15/search.aspx/sitenews that is a site scoped page which would limit results to that sitecollection only. Not allowing you to bring in results from other sitecollections. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using SharePoint Online and pnp search box webpart. I would like to use the OOTB search result page. Which querystring can I add to the url to show only news from the associated sites to my hub site?
I try this but it is not working:
https://myCompany.sharepoint.com/_layouts/15/search.aspx/sitenews?q=testPageTitle&DepartmentId=dc0cbdbb-28b8-4d30-b46d-8bd0b24559bd
https://myCompany.sharepoint.com/_layouts/15/search.aspx/sitenews?q=testPageTitle&scope=hub
Beta Was this translation helpful? Give feedback.
All reactions