Udostępnij za pośrednictwem


Configure a Default Location for Team Project Portals

You can organize and manage team project portals more easily if you define a default location in which the portals for all projects in a team project collection will be created. You can define this location when you create a collection by using the Create a Team Project Collection Wizard. For more information, see Create a Team Project Collection.

You can modify existing collections to specify a SharePoint site or a site collection as the default location in which to create portals. Although both options are valid, you gain several advantages if you specify a site collection instead of a site. A site collection and all its SharePoint sites is a single database within SharePoint Products, just as a team project collection is a single database in Visual Studio Team Foundation Server. If you specify a site collection as the root for all portals in a team project collection, you can back up and manage the databases for a site collection and a team project collection on the same schedule. Individual SharePoint sites are only parts of a collection database. Therefore, they are much more difficult to maintain than a whole site collection. For example, you can back up and restore a site collection as a unit in SharePoint Products, but you cannot back up and restore a single site.

Required Permissions

To perform these procedures, you must be a member of the Team Foundation Administrators group or your Edit Server-Level Information permission must be set to Allow. For more information about permissions, see Team Foundation Server Permissions.

To change the default location in which team project portals are created

  1. Open the administration console for Team Foundation.

    For more information, see Open the Team Foundation Administration Console.

  2. Under Team Foundation, expand the name of the server, expand Application Tier, and click Team Project Collections.

  3. Click the team project collection that you want to change, and then click the SharePoint site tab.

    Note

    The tab will not appear if no SharePoint Web applications have been configured for use in your deployment. You must configure an application before you can configure a default location for portals. For more information, see Modify or Remove Access Between a SharePoint Web Application and Team Foundation Server.

  4. Click Edit Default Site Location.

    The Edit Default Site Location dialog box opens.

  5. In the SharePoint Web Application list, click the Web application that you want to use.

  6. In Relative Path, type the relative path of the site or site collection that you want to specify as the root site for in which team project portals for this collection will be created.

    Note

    If no site exists at the location that you specify, a dialog box appears and prompts you to confirm whether you want to create a site at that location.

    All team project portals will be created as sub-sites of this location unless the administrator who creates the team project specifies a different location.

  7. In Full Path, verify that the path is correct, and then click OK.

See Also

Tasks

Add a Team Project Portal

Concepts

Organizing Your Server with Team Project Collections

Other Resources

Configuring Resources to Support Team Projects