Forum Discussion
bart_vermeersch
Jun 18, 2018Steel Contributor
Search on modern communication site, url issue with "siteall" vertical
The search box on our communication sites opens a bad url.
It redirects to
https://tenant.sharepoint.com/sites/pub/_layouts/15/search.aspx/siteall?q=ict
giving no results at all.
If we manually change the url to
https://tenant.sharepoint.com/sites/pub/_layouts/15/search.aspx?q=ict
we get the expected results!
The other verticals work ok
https://tenant.sharepoint.com/sites/pub/_layouts/15/search.aspx/sites?q=ict
and
https://tenant.sharepoint.com/sites/pub/_layouts/15/search.aspx/files?q=ict
are ok.
Is this a known issues?
Setting scope of a teamsite to tenant wide is now available:
- Jessica WongBrass Contributor
Agree! Having an option to choose from in Site Settings to default to All site content would help so many organisations. I've added this idea in the Microsoft User Voice, please vote for it:
- Carl KovagoCopper Contributor
Hi,
We have this same issue but I did not find it anywhere registered for Microsoft.
Is there a way to correct the url for the search boxes?
- Geir-Magnus Pettersen
Microsoft
Hi!
There currently are no way to customize if you want to search in the scope of the site or the tenant wide scope. But we are considering setting default search scope to tenant wide instead of site scoped as the default behavior.- Henry ScheininCopper Contributor
Thank you for information on search scope. I am a SharePoint / Office 365 consultant with years of experience of user requirements related to search and ECM in general. I think it would be great if you could have a tenant or site level setting for default search scope. We used to have something like this in the classic experience :)
Btw, are you aware that if you have a classic result page url setting in tenant root, it will still affect Expand search to all SharePoint when searching within a document library in a modern team site (group site)?
- Geir-Magnus Pettersen
Microsoft
Hi!
I'm working on the modern search experience. The idea is that when you search from within a site, the search is scoped to documents from within that site. We have got some feedback that user might want to do a global search for all of sharepoint when searching from a communication site.
If you click on the Sharepoint pice of the search breadcrumb you will upscope to global sharepoint search:
What do you think? When searching from a site should we do global search of all of sharepoint or should we continue doing a scoped search?
- bart_vermeerschSteel Contributor
Hello,
A MS support engineer told us that we could use the breadcrumb to change the scope. I don't know exactly why we didn't noticed it ourselves. Probably because SharePoint is such a broad term. Maybe a usability test could find out if "All sites" or "All SharePoint sites" would have been better. Another potential issue is that the end user can only broaden the scope from the current site to global, but not the other way around. I assume this is why you opt for current site as default search scope.
We need the global scope because we are slowly migrating to modern sites and pages and almost all of our content is still in old site collections
Ideally it would have leveraged the settings from /_layouts/15/enhancedSearch.aspx?level=sitecol where the site admin can define the search scope for that site (collection).
For custom PowerApps forms in SharePoint lists, it was possible to reuse a traditional SharePoint setting page for a modern feature, so maybe this could be done here as well until a modern settings page is available.
Adding the option to the new Site information side bar could be another option but I guess you don't want to end up cramming all site settings in this side bar.
Our temporary solution right now is to hide the out of the box search box with suggestions and replace it with a basic custom build search box redirecting to the global scoped modern search page.
Hope this helps.
Bart
- Geir-Magnus Pettersen
Microsoft
Thanks for sharing!
So I understand a couple of needs here.
1. Better highlight the possibility of scoping up (Could be by enhancing the breadcrumb, or by visualizing it in some other way).
2. Make it possible to scope back down to site scope. (See that this is missing, there is a cumbersome way today by searching for the site and expanding the site search result and clicking "search this site", but I can see that this is not the way to do it :) )
3. Do you think we would need a setting if the UI was good enough at explaining that you are in the scoped search and you have a good way of scoping back down to the current site?