Sunday, 16 October 2011

Displaying Project Server fields in SharePoint site

Recently I was working on the SharePoint project and the client wanted to display and edit some Project Server fields on Project Server SharePoint site. You can do this using OOTB Project Fields webpart which comes with Project Web Access (PWA) add-in. But there's a catch. This webpart can be used only on some specific pages which support Project Server context. If you place the webpart on a page which doesn't support the context, you'll get "The webpart cannot be displayed in this context" error message. To overcome this limitation I develop webpart which works on every page on  the Project Server site.

And here is the screenshot:


The SharePoint solution is available for download here.


4 comments:

  1. Hi David
    We've been unable to get this to work on our environment. The webpart deploys fine, but when i add the webpart to a page on the project site, it doesn't display the fields. No error message, just empty.
    Also, you mention in your post that you can edit the items as well.
    Do you have any further details on configuring this webpart?
    Thanks

    ReplyDelete
  2. Interesting. I will give this a try. Thanks!

    ReplyDelete
  3. Hi David,

    I've tried this on MS Project Server 2013 and it deploys fine, but when I try to add fields that I want to show up, I get the "Error Occured: The request failed with HTTP status 401: Unauthorized." message.

    Do I need to change something in security settings for this web part to work?

    ReplyDelete
    Replies
    1. Hello,

      I have exactly the same issue as you. Have you solve the issue? How?

      Thank you very much in advance.

      Delete