View Michael Scherotter's profile on LinkedIn

Building Maps from Excel Data

Published 05 January 07 04:05 PM | Michael S. Scherotter 

Yesterday morning, we had a Mindjet Labs workshop with some people from one of our customers, a Fortune-500 company who had the challenge of soliciting feedback about organizational changes from people in the field and to have them submit their suggestions back to headquarters in maps.  They had the org charts in MindManager and a table of roles and resposibilites in Excel and wanted to combine the two so that the people in the field will get maps with both the org chart and the roles and responsibilities for each of those roles.  They wanted a hybrid map merging the two sets of data: the org chart and the spreadsheet.  The customer came to us with the spreadsheet and the maps and were eager to learn how to automate the process using MindManager macros.

After three hours, we came up with a solution that would do the job with a MindManager Macro.  I have adapted that solution to make a demo that you could try (names were changed to protect the innocent).  Besides the existing linker from Excel to MindManager that is in the product already, when connecting to Excel data, there are three ways to generate maps from Excel:

  1. Automate Excel using the Excel object model.  The problem with this is that it ties the code to the Excel object model and if the solution changes from being a desktop solution to an enterprise one, Excel probably isn't going to be the data source.
  2. With Microsoft Office Excel 2007, with the Open XML File Format, the file is actually zipped XML (just like MindManager) so you could unzip the data, extract the XML and transform it to the MindManager XML using XSLT.  This solution is also tightly bound to SpreadsheetML Open XML format.
  3. Using ADO, you can treat Excel data just like a standard data source.  This means that 99% of the code is data-source agnostic and doesn't depend on it being in Excel.  This counteracts the problems with scalability of data that we see in the first two options:  With the demonstration that you can download and try out, you can configure it to use either an Excel 97-2003 .xls file or an Excel 2007 .xlsx file just by changing two lines of code.  Because using ADO, you could connect it to almost any data source from Access, to SQL Server to MySQL, it is a very scalable toolkit and it's part of Windows. For these reasons, we chose this option.

Once we were able to access the data, we wrote the code to build out the map based on the client's rules and here is what we came up with:

Give the demo a try, tinker with it, and tell us what you think.  Then make the time to come to a Mindjet Labs Workshop and create something amazing with MindManager!

Filed under: , , ,

Comments

# Deitenbach said on February 4, 2007 1:08 PM:

Very good idea! I would like to make a workshop about hte other way roud (from map to excel using a macro) with you.

# Michael S. Scherotter said on February 5, 2007 9:33 AM:

Deitenbach,

We would love to have  you come to a Mindjet Labs Workshop to help you develop this for your company or organization.  What was great about this workshop was that this customer came to us with the spreadsheet and the org chart and an idea of how they should be combined.  It was a very focused challenge but it also had broad appeal, enough to make a generalized demo out of.  Because the scenario "from map to Excel usign a macro" is way too broad, we would need to understand the real-world use case that this would be needed in.  Can ou please describe the use case that your company or organization is looking to realize? What are your ideas?

Anonymous comments are disabled

About Michael S. Scherotter

Educated as an architect, Michael has made his career in software development about combining technology in interesting ways.

After getting his Bachelor's of Architecture from the University of Arizona, Michael received a Master's of Architecture from UCLA specializing in Design Tool Development.

From there, he joined Tartus, Inc., a sofware consulting firm specializing in building architectural sofware. At Tartus, Michael rose to the role of lead software architect for BC Framer, a custom CAD solution for Boise Cascade Corporation. In this role he designed and lead development of the software through six successful release cycles.

At Mindjet, Michael started by managing the software development teams for the first tablet-pc enabled version of MindManager and MindManager X5.

From 2003 to 2007, Michael was in business development and marketing roles as a Business Solution Architect and as the Solution Platform Product Manager for MindManger. Michael designed and built the first enterprise integration for MindManager, the Accelerator for Salesforce.com which served as a reference implementation for future enterprise integrations. In this role, he created, directed, and maintained the Mindjet Labs and became the evangelist for the MindManager Solution Platform.

Now Michael is a Developer Evangelist for Microsoft Corporation.

View Michael Scherotter's profile on LinkedIn

Search

Go

This Blog

Tags

Archives

Links

Syndication