none
Project Server 2010/2013 - "Project Details" gantt chart web part customization RRS feed

  • Question

  • Hello,

    Is it possible to modify/extend the "Project Details" web part (PWA 2010 or 2013) in order to make the gantt chart's bars interactive? (click on bar -> focus on task -> options in ribbon...)

    I'm a developer so I don't mind messing with inheritance with the "Project Details" web part and extend it, however I'm guessing it's sealed.

    If the answer is "No". Is it possible to archieve it starting with the JS Grid control?

    Thank you for your time.


    Friday, September 14, 2012 8:11 AM

Answers

All replies

  • Hi there-

    You cannot modify/extend the out of box web parts since there is no source code available but you can create you customized web part using JSgrid:
    http://msdn.microsoft.com/en-us/library/office/ff951237.aspx
    http://msdn.microsoft.com/en-us/library/office/ff535984.aspx

    Hope that helps.


    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

    • Marked as answer by Mario Mira Friday, September 14, 2012 11:36 AM
    Friday, September 14, 2012 8:43 AM
  • Thank you very much for your reply.

    I'm already following the tutorial to create a personalized gantt chart web part.

    And a question emerged:

    To get the TaskList I will use PSI to access Project Server as usually (correct?).

    The problem is, since the projects have more than 1000 tasks (3000 aprox) and reaches the PSI limitation, is there a way to bring all the tasks with multiple calls to the PSI? (The out of the box gantt web part does some ajax calls when I quickly scroll the grid down to see more tasks).

    It's a bit lazy on my part since I haven't checked the PSI documentation to see if some sort of parameters may be send to limit the results (like dates or number of rows returned or pagination). Do you know the answer?

    Thanks again for your time!

    Friday, September 14, 2012 9:29 AM
  • I was expecting this may be the next question ..Yes, PSI has limitation on ProjectDataset for 1000 or more rows. To get the Task name & other related data, You may call the procedure from Reporting database via below query , pass the projectuid :

    select * from MSP_EpmTask_UserView where ProjectUID = '62AB953A-E2A2-41B5-9742-011D3D0C4B34'

    I just used the select * , but in procedure you can get the required columns to get on JSgrid.

    Hope that helps.


    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

    Friday, September 14, 2012 10:40 AM
  • Thanks again for the very valuable information!

    I've been messing around with the JS Grid with the Gantt view and I've come to the conclusion that It's easier to use any JS Gantt plugin and embed it in a visual web part. Then use your awesome query to get the data and represent it!

    Thank you very much! I have a couple more questions but I'll put them on a separate thread for better future search.

    Friday, September 14, 2012 11:40 AM
  • Glad that I was able to help.. You are more than welcome Mario :)

    Thanks.


    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

    Friday, September 14, 2012 11:52 AM