![]() To go back to the default setting, run the command again with the value “DefaultScope". In some cases, you may want to change these defaults to always search over the whole organization, or across the hub a site is associated with, without needing an additional click.Īs a site owner, you can change these defaults using the following command: Set-PnPSearchSettings -SearchScope TenantĪfter running this command, the site that was previously showing results from the current site by default will start to show results from the whole organization. Hub sites search over all sites in the hub.Regular sites search over the current site. ![]() The scope the search box uses, by default, depends on type of site. This page shows results from your current site by default and allows you to expand the scope of your search to the hub that the current site is associated with (if there is one), or to the whole organization. When you create a new site in SharePoint Online today, and type into the search box, you are taken to the Microsoft Search results page. # this will prompt you to sign into your site. You will sign into your site or site collection using this command: Connect-PnPOnline -Url -UseWebLogin You can install and learn more about how to get started here. The suite navigation bar search box is not available for all customers at this time, but these options can still be set now and they will take effect when it becomes available.įor the tasks listed below, you will use PowerShell with SharePoint PnP PowerShell extensions.
0 Comments
Leave a Reply. |