Reading the color code of a bar RRS feed

  • Question

  • Hello, I'm saving a copy of a Microsoft Project document as an XML file in order to parse the XML file and extract project information. I successfully extracted most of the data I require but I can't find a way to get the color information of a particular bar. Is it possible to get the color information as it is used to assign priority of a task?

    Wednesday, October 1, 2014 1:15 PM


  • Hi,

    Unfortunately for you, saving a MPP file as XML will loose the formating, meaning that the bars' color will not be included in the XML file.

    But the priority field (as all fields and custom fields) will be included, allowing you managing task priority. Thus I'd suggest that you use this field to deal with priority instead of bar color. 

    Hope this helps,

    Guillaume Rouyre, MBA, MCP, MCTS |

    Wednesday, October 1, 2014 1:22 PM