ILOG Elixir 2.0 currently in beta (available here) is introducing a new custom Flex component in charge of rendering gantt task charts. The subject of this post is to see how you can read the output of an MS Project schedule and display it, using ILOG Elixir, into a Flex (or AIR) application.
The steps that are needed to achieve this are the following:
For example you can see below a Flex application displaying Human Resources interview plan.xml (zipped) MS Project file:
The 4th step is of course the more interesting one. It is a bit tricky because, as usual with hierarchical data in Flex, the ILOG Elixir TaskChart expects the data to be already presented in its hierarchical form (i.e. for XML data, it excpects hierarchy children to be XML children of the parent node). However this is not the case of the MS Project XML format that presents all tasks in a flat way. That's why reading MS Project involves our own
The next step I envision would be to use the PercentComplete information in a custom ILOG Elixir task item renderer to display information about progress of the task. You can use this project as a starting point and leverage any information you want from the MS Project data to build a more complex display using the Task Chart component.
If you want to know learn more on the subject and you plan on being at MAX Europe next week, you might be interested in attending my session as I will enter into a bit more details about this example and some other nice examples of enhancing Flex and AIR displays using ILOG Elixir components.