Sdílet prostřednictvím


Add Project Web App Web Parts to a site not within the Project Web App site collection (Project Server 2010)

 

Applies to: Project Server 2010

Topic Last Modified: 2010-10-20

You can add Microsoft Project Web App Web Parts to a site that is not in a Project Web App (PWA) site collection. Sites that are not in the same site collection as the Project Server 2010 instance do not have the PWA Web Parts in the Web Part Gallery for the site collection. Sites that are in the farm but not in the same site collection as the PWA instance have two requirements for you to add PWA Web Parts to them:

  • The PWA Web Part must be imported into the Web Part Gallery for the site collection.

  • If the PWA Web Part has a ribbon dependency, the Project Web App server ribbon must be enabled on the site.

Note

There are additional actions that you must take if the site on which your Project Web Access Web Parts reside was upgraded from Microsoft Office SharePoint Server 2007. For more information, see the Considerations for upgraded Project Web App Web Parts on sites not in the same site collection as Project Web App section of Upgrade considerations for Project Web App Web Parts.

For more information about PWA Web Parts in Project Server 2010, see the following articles:

A site that is not in the Project Web App site collection does not have the Project Web App Web Parts available for use. They must be imported to the Web Part Gallery of the site collection to make them available to load to sites in the site collection. The PWA Web Parts must be imported from an existing site that is already in a Project Web App site collection on the farm. Use the following steps to import PWA Web Parts from a site in the PWA site collection to the Web Part Gallery of the site that is not in the PWA site collection.

To upload the Project Web App Web Part to the Web Part Gallery

  1. Open a site in the Project Web App site collection.

  2. Click Site Actions, and then click Site Settings. On the Site Setting page, in the Galleries section, click Web Parts.

  3. On the All Web Parts page, in the Web Parts section, select the check box next to all of the PWA Web Parts that you want to import to the other site.

  4. Click the Documents tab to display the Documents server ribbon. Click Download a Copy. In the File Download dialog box, click Save. In the Save As dialog box, select a convenient location to save the Web Part to and then click Save.

  5. Open the site to which you want to import the PWA Web Parts. On this site, click Site Actions, and then click Site Settings. On the Site Settings page, in the Galleries section, click Web Parts.

  6. Click the Documents tab to display the Documents server ribbon. Click Upload Document.

  7. Select the Web Parts you want to import from the location that you saved them to, and then upload them to the Web Part Gallery.

Enable the Project Web App Server ribbon on the site

Some PWA Web Parts require the Project Web App Server ribbon to be on the page in order to use them. If the Web Part has a ribbon dependency and the Web Part is added to a non-Project Web App site collection, the ribbon feature must be enabled on the target site collections.

The PWA Web Parts that have a ribbon dependency are as follows:

  • Project Details

  • Project Center

  • Resource Assignments

  • Resource Center

  • My Tasks

  • Approval Center

  • Team Tasks

  • My Schedule

  • My Timesheet

Use the following procedure to enable the Project Web App Server ribbon feature on a site if the PWA Web Part that you are adding has a dependency on it:

To enable the ribbon feature on a site

  1. On the site on which you want to enable the ribbon, click the Site Actions menu, and then click Site Settings.

  2. On the Site Settings page, in the Site Collection Administration section, click Site Collection Features.

  3. On the Site Collection Administration-Features page, find Project Web App Ribbon and then click the Activate button to the right of it.