My 2p about ERP Solutions, Information Worker Solutions and other software products (mainly Microsoft Dynamics AX and Microsoft SharePoint).

18 June 2008

Extension to the Budgeting and Tracking Multiple Projects application template

by Patrik Luca 1 comments

Tag



Business Scenario


You have set up the Budgeting and Tracking Multiple Projects application template, one of the 40 fantastic Application Templates for Windows SharePoint Services 3.0.
You have created some Projects in the Projects List and some Project Tasks in the Project Tasks list.

You want to view these project tasks as a Microsoft Office Visio 2007 Flow Diagram. Moreover, you want to keep your Visio drawing in synch with the SharePoint list data.

Solution


Based on the MSDN article Integrating Visio 2007 and SharePoint Products and Technologies, I worked out following demo script:
  1. Start Microsoft Office Visio 2007.

  2. Create a new Visio file based on the Cross Functional Flowchart template. Choose the horizontal band orientation and 5 bands.

  3. Connect this Visio diagram to an external data source. We are going to connect it to our Project Tasks list in our SharePoint site, based on the Budgeting and Tracking Multiple Projects template.
    1. Choose Data.

    2. Choose Link Data to Shapes
    3. Choose Microsoft Windows SharePoint Services list.

    4. Select the site on which your Project Tasks list is available.

    5. Select the list Project Tasks
    6. Finish the wizard.

  4. Your data from your Project Tasks list are now linked in your Visio drawing.

  5. Put a Process block on your Visio drawing for each project task.

  6. Drag and drop the first Project Task from the External Data section to the first Process block on your Visio drawing. A little chain icon should appear in front of your first Project Task in the External Data section.

  7. Right-click the Process block and choose Data->Edit Data Graphic.

  8. Choose New Item->Text

  9. Choose as Data Field Title and as Callout Heading 1. Click OK.

  10. Add another Text Item, choose as Data Field Assigned To, as Callout Text callout and set the property Label Position to Not Shown. Click OK.

  11. Choose New Item->Color by Value.

  12. Choose as Data field % Complete and as Coloring method Each color represents a range of values. In the lower part of the screen you specify the ranges and their colors.

    Choose OK.

  13. You can add additional fields that you want to display in the Process block in the same manner. After having added all your desired fields, choose OK in the Edit Data Graphic form.

  14. Select this Process block and apply the same formatting to the other Process blocks in your Visio diagram by using the Format Painter (SHIFT+CTRL+P) functionality.

  15. Drag and drop the other Project Tasks in the External Data section to the other Process blocks on the Visio diagram.

  16. Connect your Process blocks using the Visio Connector Tool.

  17. Choose Format->Theme, and apply a Theme to your Visio diagram.

  18. Save your Visio diagram.


Now you have a Visio diagram which is linked to the Project Tasks SharePoint list.
Data changes on items in the SharePoint list will be reflected automatically in the Visio diagram. Moreover, we have added a coloring scheme to our Visio diagram, based on the % Complete column: this will result in a change of color for our Process blocks upon changing the % Complete value in our SharePoint Project Tasks list.


  1. Go to your Project Tasks list in SharePoint.

  2. Change some of the values for columns you have chosen to be displayed in your Visio diagram.
  3. Change the value for the % Complete column.

  4. (Re)open your Visio diagram.

  5. Choose Data->Refresh Data. Choose Refresh All.



In my example, I have changed the Cost and Due Date for Task 3. I have changed also the % Complete for all of my Project Tasks as such that different color schemes should be applied for each of the Project Tasks, based on my settings in the previous steps. My Visio flowchart looks as follows after refreshing the data:


This offers great opportunities to visualize SharePoint list data by simply using Microsoft Office Visio 2007 and without code needs!

Comments 1 comments
Unknown said...

I'm going to have to try the Visio angle. That's interesting.

Wanted to let you know our product supports the Budgeting and Tracking Multiple Projects template. IntelliGantt makes it easy to send and synchronize tasks and link them with the projects by keeping the lookup ids up to date.

Cheers,

John Milan

Patrik Luca, Ieper, BELGIUM
Feel free to use or spread all of the content on my blog. In return, linking back to my blog would be greatly appreciated. All my posts and articles are provided "AS IS" with no warranties.

Subscribe feeds via e-mail
Subscribe in your preferred RSS reader

Subscribe feeds rss Most Read Entries

Subscribe feeds rss Recent Entries

Categories

Recommended Books


Subscribe feeds rss Recent Comments

This Blog is part of the U Comment I Follow movement in blogosphere. Means the comment field of this blog is made DOFOLLOW. Spam wont be tolerated.

Blog Archive

My Blog List

Followers

Links