How can we help you today?

How to Modify the Search Scope of the Search Box Design Element

With the ShortPoint Search Box Design Element, you can choose the specific search scope you want the Search Box Design Element to cover:


Search Scope options


This article will walk you through each Search Scope option and its customizable settings:


sample search box


TABLE OF CONTENTS


Prerequisites


Search Scope Options

The Search Scope feature is a powerful tool that gives you control over where your searches look for information. Think of it as setting boundaries for your search. It determines which areas will be included when you enter a query into the search box.


Search Scope


This feature is designed to make your searches more targeted and efficient. Instead of searching through everything every time, you can narrow down the scope to focus on exactly what you need. This not only saves time but also helps you find more relevant results faster.


The Search Scope feature provides you with four distinct options to choose from, each offering a different level of coverage:


A. Whole SharePoint Tenant

This is the broadest search option available, giving you access to your entire SharePoint environment. When you select this scope and enter a search query, the system will scan across all sites, libraries, lists, and content within your organization's SharePoint tenancy. This option is ideal when you're not sure exactly where a document or piece of information is located, or when you need to conduct a comprehensive search that leaves no stone unturned. It's particularly useful for finding resources that might be shared across multiple departments or team sites.


sample whole SharePoint tenant


B. Current Site

This option provides a more focused search experience by limiting results to the SharePoint site you're actively working in. When you enter a query with this scope selected, the search will only look through the content, documents, and information within your current site's boundaries. This is perfect for situations where you know your desired content is somewhere within the site you're using, helping you avoid sifting through unrelated results from other areas of your tenant. It makes your searches faster and more relevant to your immediate context.


sample Current site


C. Specific SharePoint Site

This option gives you pinpoint accuracy by allowing you to designate a particular SharePoint site as your search target. Once you've configured this scope with a specific site address, all your search queries will exclusively look for results within that designated site. This is especially valuable when you frequently need to search a specific team site, project site, or departmental site that you may not currently be viewing.


sample specific SharePoint site


D. External Site

This option extends your search capabilities beyond your SharePoint environment to include external websites or resources. By configuring this scope with an external site URL, you can search content that lives outside your organization's SharePoint tenant directly from your search box. This is particularly useful for organizations that need to regularly reference external knowledge bases, partner portals, vendor documentation, or other web-based resources. It creates a unified search experience that bridges internal and external content sources.


sample external site


By understanding and utilizing these search scope options effectively, you'll be able to navigate your searches with greater precision and get to the information you need more quickly.


Interactive Tutorial

Click Get Started to learn how to modify search scopes:


Step-by-step tutorial

Follow the steps below to start modifying search scopes for the Search Box Design Element:


Step 1: Edit the ShortPoint web part

Go to the SharePoint page you want to use and click Edit:


Edit


Close the Toolbox:


close icon


Edit the ShortPoint web part:


Edit properties icon


Step 2: Edit the Search Box Design Element


NOTEBefore proceeding, make sure you already have the Search Box Design Element on your page. If you don’t have it yet, check out How to Add Search Functionality in SharePoint using the Search Box Design Element.


Click the Search Box tag:


Search Box tag


Select the cogwheel icon:


cogwheel icon


Step 3: Choose a Search Scope

There are 4 Search Scope types. Choose the option that best suits your needs:


Option 1: Search the Whole Tenant

  1. Under the Search Scope drop-down, select Whole SharePoint Tenant.
  2. Then, select the Search Content Type you want to use. You can choose All, People, News, Sites, Files, Images, Videos, and Messages.


Whole SharePoint Tenant


Option 2: Search the Current Site

  1. Under the Search Scope drop-down, select Current Site.
  2. Then, select the Search Content Type you want to use. You can choose All, People, News, Sites, Files, Images, Videos, and Messages.


Current Site


Option 3: Search a Specific Site

  1. Under the Search Scope drop-down, select Specific SharePoint site.
  2. Paste the URL of the SharePoint site you want to use in the SharePoint Site URL field.
  3. Then, select the Search Content Type you want to use. You can choose All, People, News, Sites, Files, Images, Videos, and Messages.


specific SharePoint site


Option 4: Search an External Site

  1. Under the Search Scope drop-down, select External Site.
  2. Paste the URL of the external site you want to use in the External Search URL field.


NOTEMake sure to add "%s" for the search term. Otherwise, the search will not work as intended. For example, we want to link the search box to the Google search query. We used this search URL: https://www.google.com/search?q=.  Then, we added “%s” at the end. Now, our URL looks like this: https://www.google.com/search?q=%s


External Site


Step 4: Save and Publish

Click the green check mark.

Save your changes:


Save


Publish your page:


Publish


Congratulations! You’ve successfully changed the search scope of the Search Box Design Element.


Related articles:

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

World's best intranet sites are designed using ShortPoint

Get started today! Learn more
See all 97 topics

Start a trial

Ignite your vision. Install ShortPoint directly on your site, or play in sandbox mode. No credit card required.

Get started today

World’s best intranet sites are designed using ShortPoint

Thousands of companies using ShortPoint everyday to design, brand and build award winning intranet sites.

Get started Learn more