Friday, February 10, 2006
Step by step Gantt chart setup
Step 2, we add an instance of the Gantt web part to the page:
Note that the part initially doesn't find a list named "". You must pass it the name of the list it should work with. When you do that it will look like this (check out the message in the web part):
Note that the View field is still empty, but the error message is about a missing start date. The part automatically uses the default view (in this case 'All Tasks'), which does not include the Start Date. So we add it to the view (step 3):
Now, when you enter the right values for the web part (step 4), it will work like a charm:
Now let's do an extra thingy: we create a new view for the list, showing the 'Created By' and 'Created' fields and grouping by the status field:
I added the status field to the list as well. The Group By field must be included in the rendered fields. This may seem odd, but the part needs it. I may fix this requirement, but not right now.
Labels: sharepoint

