Add Project Web App Web Parts to a site not within the Project Web App site collection (Project Server 2010)
Aplica-se a: Project Server 2010
Tópico modificado em: 2016-11-30
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.
Observação
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 Corrigir as Web Parts do Project Web App atualizadas em sites que não está no mesmo conjunto de sites que o Project Web App section of Considerações sobre atualização das Web parts do Project Web App.
For more information about PWA Web Parts in Project Server 2010, see the following articles:
Import a Project Web App Web Part into a Web Part Gallery for a site collection
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
Open a site in the Project Web App site collection.
Click Site Actions, and then click Site Settings. On the Site Setting page, in the Galleries section, click Web Parts.
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.
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.
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.
Click the Documents tab to display the Documents server ribbon. Click Upload Document.
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
On the site on which you want to enable the ribbon, click the Site Actions menu, and then click Site Settings.
On the Site Settings page, in the Site Collection Administration section, click Site Collection Features.
On the Site Collection Administration-Features page, find Project Web App Ribbon and then click the Activate button to the right of it.
See Also
Concepts
Planejamento de Web parts do Project Server 2010
Adicionar ou remover Web parts do Project Web App de um site no conjunto de sites do Project Web App (Project Server 2010)
Considerações sobre atualização das Web parts do Project Web App
Other Resources
Gerenciar Web Parts (SharePoint Server 2010)
Developing Project Server 2010 Web Parts