Friday, February 10, 2006

 

Step by step Gantt chart setup

Some people were having trouble setting the Gantt chart web part up on their WSS sites, so I thought I'd better show a little how-to. We will create a new list, create a Gantt chart for it. Then we will do the same for a custom created view on the data. This step-by-step guide assumes that you have managed to install the part in your site. Step 1, create a new list based on Task (you can use any list, but the nice thing of Task is that it includes a Start Date and Due Date field, which we need):

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:


Comments: Post a Comment

Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?