Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying custom bars/color in Project Server 2002

Status
Not open for further replies.

orbnsc

Programmer
Sep 18, 2003
11
US
I'm having some trouble translating my Project 2002 Gantt charts to Project Server 2002 without losing some important data, namely the bar colors. I have changed the bar colors for tasks based upon their status (such as Approved, In Review, Arbitrated, etc). When I import my project to the server, it reverts everything back to the default blue.

I initially had colored these bars based on a VBA script, but I changed that to custom defined bars (under Format->BarStyles menu) using the "Flag1", "Flag2" and so on fields but I still can't get Project Server to display those colors.

Does anyone know how to import custom colored Gantt bars to Project Server 2002? It's driving me nuts. Thanks in advance!
 
I'm using P2003.

Try this (it should work in P2002):

Format | Bar Styles ... (I know, you already did this part).

In the Bar Styles popup window insert a row which reads:

Name: "Approved"
Appearance: (I chose lime green from the colour selction stuff at the bottom of the popup window)
Show for ... tasks: Flag1
Row: 1
From: Start
To: Finish

Insert another row:
Name: "In Review"
Appearance: (I chose red from the colour selction stuff at the bottom of the popup window)
Show for ... tasks: Flag2
Row: 1
From: Start
To: Finish

Now change the Task row.
Name: I didn't change it
Appearance: I didn't change it
Show for ... tasks: Not Flag1, Not Flag2 (note the comma)
Row: 1
From: Start
To: Finish
Click on OK

This showed a green bar for "Approved" tasks (Flag1 = yes) tasks, a red bar for "In Review" tasks (flag2 = yes) and the other rows (flag1 = no; flag2 = no) have standard blue bars.




 
Thanks PDQBach, this does a pretty good job of changing the bar colors (it's a bit more refined than the technique I was using, and far better than the quirky VBA macro I had started with). But I still don't know how to get Project Server to import these custom bars and their colors. Project Server seems to be inflexible with Gantt bars...you can't add any. Using Web Access to modify the Gantt bar options I see several "Custom Duration" bars (which would seem to be usable for this kind of thing) but I can't figure out how to make Server use those. Have you ever done that?

Thanks again!
 
When I create and save a project to the server (Collaborate | Publish ...) using the colours I describe above, the colours are correctly displayed when I reopen the project.

Therefore, I don't think you mean "Project Server is inflexible"; I think you mean PWA is inflexible.

I've played around a bit in PWA but haven't found the answer yet. Further research is on-going as time permits :)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top