Search for an item

Last updated Monday, May 23, 2016 in Sitecore Experience Platform for Content Author
Keywords: Search

In Sitecore, you can search for an item in a number of ways:

  • From the Content Editor:
    • In the content area on a Search tab, where the search runs through the selected item only.
    • In the content tree, where the search runs through all the items in the content tree, starting from the selected item.
  • From the Experience Editor:
    • In the Navigate to Item dialog box, where the search runs through all the items in your Sitecore installation.

This topic outlines how to:

Search for an item in the Content Editor or the Experience Editor

Important

When you run a search in the Content Editor on a Search tab, you only search through the descendants of the selected item. In the Experience Editor, the search runs through all the items across all your Sitecore websites.

To search for an item:

  1. Open the Content Editor or the Experience Editor:
    • In the Content Editor, in the content tree, navigate to the item that you want to run your search from. In the editing pane, click Search icon_All_Search to open a new search tab.

      cms_ce_ContentArea_SearchButton

      Note

      If you select an item bucket, the Search tab opens by default.

    • In the Experience Editor, on the ribbon, click the search icon to open the Navigate to Item dialog box, where you can search among all the Sitecore items.

      cms_xe_Ribbon_SearchButton

  2. In the Search field, enter the keywords that characterize the items that you want to search for, or build a query.

    Tip

    In the Search field, you can enter * to search for all available items — in the Content Editor, this means all the descendants of the selected item and in the Experience Editor, this means all items in your Sitecore installation.

  3. Press Enter or click Search icon_All_Search.
  4. To filter the search results, use the facets to the right of the search results, and to change the view of the results, you can click one of the view buttons icon_All_DefaultSearchViews to the right of the Search field.

    Note

    If you change the view, the search is launched again based only on the keywords and filters in the Search field.

    Note that in the search results, a clone is greyed-out and represented with an indent.

    cms_Item_SearchTab_ClonedItem

  5. To open an item from the search results:
    • In the Content Editor, click the title of the item to open it in a new tab.

      cms_ce_ContentArea_SearchResults

    • In the Experience Editor, select the item and click OK. The Experience Editor then redirects to the page where the selected item is located.

      Tip

      If you are working on multiple websites, you can search for an item on another website and use this search functionality to redirect to the Experience Editor from one site to another.

      cms_xe_NavigateToItem_Dialog

  6. Alternatively, you can perform certain operations on all the items directly from the search. To perform an operation on all the search result items, click the down arrow to the left of the search field, expand Search Operations, and select the operation that you want to perform on all your search results.

    cms_ce_SearchTab_SearchOperations

Search for an item from the content tree in the Content Editor

If you want to do a quick and simple search through the content tree, you can use the search function associated with the content tree in the Content Editor.

Note

The search runs through the entire content tree starting from the selected item. This means that the search results found at the starting point are listed first.

To search for an item using the content tree search:

  1. In the content tree, select the item that you want to start the search from.
  2. In the Search field, enter the keyword that you want to search for. This can be any character, number, word, and so on.

    cms_ce_ContentTreeSearch

  3. Click Search icon_ce_ContentTreeSearch or press ENTER to perform the search.

Add a criterion to a search from the content tree in the Content Editor

If you need to search in a specific field or for more than just one item or keyword, you can, from the drop-down menu, perform a search in a specific field and add more criteria to the search.

To add a criterion to your search:

  1. In the content tree, select the item that you want to start the search from.
  2. In the Search field, click the drop-down arrow.

    cms_ce_ContentTree_SearchCriterion

  3. To perform a search only in the items' Name field, in the Name field, enter the name of the item you want to search for.

    If you want to search in a different field, click Name, and in the drop-down menu that appears, all the fields in the current item are displayed. Click the field that you want to search in and enter the relevant search word.

    cms_Search_ContentTree_NameField_DropDown

  4. To add a custom criterion, in the Add Criteria field, enter the name of the criterion and then click Add Criteria.

    cms_Search_ContentTree_MyCriterion

    You can click the name of the criterion to change it to one of the predefined criteria.

  5. Enter the value for the custom criterion and press ENTER. To remove the criterion, click the criterion name and then click Remove at the bottom of the menu that appears.
  6. To open a search result in the content area, click a search result.
Send feedback about the documentation to docsite@sitecore.net.