Udostępnij za pośrednictwem


Adding an EPM Web Part to another SharePoint site

Steps you will need to follow to display PWA Web Parts in another site within the same SharePoint farm:

1. Chose the Web Part (e.g. TimesheetPart) from the PWA homepage or the web parts gallery (Project Web Access > Site Settings > Galleries > Web Parts) and Export and Save to your preferred desktop location:

2. Edit the Web Part in Notepad. Find the following property PSIURL (or add if it does not exist) and change it accordingly for instance:

<property name="PsiUrl" type="string"> https://server/PWA</property>

3. Save Web Part update

4. From https://server/sites/project - Site Collection EPM > Web Part Gallery > Upload Document, select TimesheetPart modified earlier.

5. Add Web Part to the page you like (Site Action -> Edit Page)

To cross SharePoint server farms, you can use the Page Viewer web part in conjunction with SimpleUI=31

https://server/PWA/_layouts/pwa/timesheet/mytssummary.aspx?SimpleUI=31

If you encounter the following while adding the Web Part to the page : “Unable to add selected web part(s). My Timesheet: The request failed with HTTP status 401: Unauthorized” check the ULS logs. It’s typically an access right issue so make sure the user has access to the PWA site.

Project Server 2007 Web Parts

· MySchedule

· ResourceAssignmentsPart

· OWCViewPart

· ResourceCenterPart

· ProjectCenterPart

· StatusApprovalsPart

· ProjectDrillDownPart

· TaskPart

· ProjectWorkspacesPart

· TeamAssignmentsPart

· QueueStatusPart

· TimesheetPart

· RemindersPart

Comments

  • Anonymous
    June 26, 2007
    Do not forget to put the property on the top of properties block. I try to put it at the end and it does not work

  • Anonymous
    June 26, 2007
    Hi Christophe, I tried to follow the the steps as you have mentioned. Reminder, task and few other webparts are working perfectly, but I am getting the "The request failed with HTTP status 401: Unauthorized” error when I am trying to add the Project Center webpart. Below are the configurations of my dev env

  1. I am using Virtual PC
  2. I am using NTLM with impersonation turned on, anonymous access turned off (I have also tried to use Kerburos).
  3. I am using the local admin account to logon to the site. this account is also a farm admin, as well as have admin access on the PWA site.
  4. The App pool is also running on Admin account. Can you suggest where I am going wrong ? P.S : I am able to add the Project Center webpart in the PWA site. Thanks Bhaskar
  • Anonymous
    August 06, 2007
    Hi Christophe and Bhaskar I've found that the "The request failed with HTTP status 401: Unauthorized" occurs with the Projcet Center and Project Details web parts (and possibly others) only work within the same site collection. We have our project server install in http://server/pwa and our workspaces in http://server/projects.  The web parts work OK if they are added to pages in http://server/pwa/site1 but the above error occurs outside of this site collection (e.g. http://server/projects/site1).  The webparts have the PWA URL correctly specified. The MyTimesheets webparts work OK wherever they are placed (e.g. My Site) Regards Andy

  • Anonymous
    December 12, 2007
    Dears, kindly i need your help, i have added the projectcenter web part under the Project workspace under PWA url but if i put it under a outside sharepoint url an error ocurred what can i do?

  • Anonymous
    March 27, 2008
    I get a 401 error when I try to add the project details web part to a sharepoint site on the same farm as project server. Any help in resolving this issue will be great appreciated. Here's what I see in the logs - PSI Auth: SiteId 533432a4-c8b9-4c13-bc15-664b376c84b2 was not found in the ProjectSiteCollection for this SSP System.Net.WebException: The request failed with HTTP status 404: Not Found.     at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)     at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)     at Microsoft.Office.Project.Server.PSIAuth.Authentication.GetUserByName(Boolean isProjUser, String username) System.Net.WebException: The request failed with HTTP status 404: Not Found.     at Microsoft.Office.Project.Server.PSIAuth.Authentication.GetUserByName(Boolean isProjUser, String username)     at Microsoft.Office.Project.PWA.PJContext.AuthenticateUserForPWA(Boolean validateUser, String username, Boolean checkTimebomb) System.Net.WebException: The request failed with HTTP status 401: Unauthorized.     at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)     at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)     at Microsoft.Office.Project.Server.WebServiceProxy.PSIProxyBase.InvokePSI(String serviceName, String methodName, Object[] parameters)

  • Anonymous
    April 09, 2008
    Hi everybody, so i also have THE SAME PROBLEM like "NNARVEKAR". and i have the same szenario like AndyS explained. I always get the error: The request failed with HTTP status 401: Unauthorized Have anybody of you solved the problem??? Please help!!!!! Thanks Mikel

  • Anonymous
    August 27, 2008
    A few weeks ago, I did my 200th post since starting this blog, so following Brian Smith’s initiative

  • Anonymous
    April 08, 2009
    G'Day Christophe, Great artical and has helped us split PWA from the workspaces. I have also resolved the 401 issues raised above, however it is a bit of a fudge! It looks like setting the PsiUrl does not work for a number of web parts (i.e. Project Details etc.) However If you first add in the TimeSheet Web Part and check that it works. You can then add in any other Projec tWeb Part without error. However the Timesheet Web Part must be left on the page (can be closed) and the event log will report 7377 errors on the odd occasion. Hope this is of use