How to: Add SharePoint 2010 Search Web Parts to Web Part Gallery for Upgraded Site Collections

When you upgrade to Microsoft SharePoint Server 2010, some of the new SharePoint Enterprise Search Web Parts are missing from the Web Part gallery for upgraded site collections. The following are the missing Web Parts:

  • Refinement Panel

  • Related Queries

  • People Refinement Panel

  • Dual Chinese Search

This topic describes how you can add these Web Parts to the Web Part galleries of the upgraded site collections.

NoteNote

The Web Part galleries for new site collections will contain these Web Parts; they will be missing only from upgraded site collections.

You can add the missing Web Parts in two ways:

  • Activate the Search Server Web Part feature.

  • Add the Web Parts manually to the Web Part gallery.

To activate the Search Server Web Part feature

  1. To open the Site Settings page for the top-level (root) site of the upgraded site collection, append /_layouts/settings.aspx to the root site's URL, as follows:

    http://RootSiteURL/_layouts/settings.aspx

  2. In the Site Collection Administration section of the Site Settings page, click Site collection features.

  3. For Search Server Web Parts, click Activate.

    Important noteImportant

    Activating the Search Server Web Part feature adds only the Web Parts that exist in Microsoft SharePoint Server 2010 for Search, so the People Refinement Panel Web Part will not be added to the Web Part gallery. You must add this Web Part manually, by using the steps described in the next procedure.

To add the Web Parts manually to the Web Part gallery

  1. Create a site collection by using the Enterprise Search Center template, as follows:

    1. Open SharePoint 2010 Central Administration.

    2. In the Application Management section, click Create site collections.

    3. In Template Selection, on the Enterprise tab, click Enterprise Search Center.

    4. Specify values for the required fields in the remaining sections, including TitleURL, and the Primary Site Collection AdministratorUser name fields.

    5. Click OK to create the site collection.

  2. To open the Site Settings page for the site you just created, append /_layouts/settings.aspx to the site's URL, as follows:

    http://ServerName/SiteName/_layouts/settings.aspx

  3. In the Galleries section of the Site Settings page, click Web parts.

  4. Select the check box for the DualChinese.dwp entry in the gallery, click Download a Copy, and then click Save to save a copy of the .dwp file to your computer.

  5. Repeat the previous step for the following entries in the Web Part gallery:

    • Refinement.webpart

    • PeopleRefinement.webpart

    • QuerySuggestions.webpart

  6. To open the Site Settings page for the root site of the upgraded site collection, append /_layouts/settings.aspx to the root site's URL, as follows:

    http://RootSiteURL/_layouts/settings.aspx

  7. In the Galleries section of the Site Settings page, click Web parts.

  8. In the Library Tools section, click Documents.

  9. Click Upload Document.

  10. Click Browse, navigate to the location where you saved the downloaded files from steps 4 and 5, select DualChinese.dwp, click Open, and then click OK.

  11. In the Web Part Gallery Properties dialog box, type Search for both the Group and Recommendation Settings sections, and then click Save.

  12. Repeat steps 9 through 11 for the following Web Part files:

    • Refinement.webpart

    • PeopleRefinement.webpart

    • QuerySuggestions.webpart

The missing Search Web Parts are now available to any site within the upgraded site collection.

http://msdn.microsoft.com/en-us/library/ff512796(v=office.14).aspx

posted @ 2013-07-06 11:12  zyip  阅读(345)  评论(0编辑  收藏  举报