PermaLink Excel demo fixed with Open XML05/01/2008 10:54 AM
I've giving my Domino XML link to Excel with a chart for years.  (link)  This week I wanted to add some of the cool Excel 2007 presentation options.  The problem was that Excel, when it created the import schema, made my "freight" value a string.  So "Data Bars" didn't work until I converted the column to "Currency" or "Number".  Now I could have just added a schema to my Domino XML but I'm way to lazy for that.  So instead, hours were spent poking around Excel to solve the problem.    If we converted the column, it worked until the data was refreshed....ugg.  

So I dug into the Open XML of the "DominoXMLChart2007.xlsx" file.  To do this, just rename the file to end with ".zip" instead of ".xlsx".   Then open the ZIP file and poke around.   First I found an xmlMaps.xml file and it had the Freight value set to String.  After changing it to integer and renaming the file back to .xlsx, the problem wasn't solved.  No change.  uuug.   Next I found a "Table1.xml" file.  It had the table column format set to String.  A change to integer here did the trick.  So I reposted the demo.  If you have Excel 2007, give it a try.    

Now if the Microsoft folk would only let me tweak the XML map and table definition in the UI, life would be good.  

Technorati:
Comments :v
No comments.
GaryDev
The blog is hosted by the ADVISOR NETWORK.
By Gary Devendorf
Recent Entries
Calendar
August 2008
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
14
15
16
17
18
19
20
22
23
24
25
26
27
29
30
31
Monthly Archive
ADVISOR.com
ADVISOR
MSDN Blogs
The BlogRoll
Lotus Domino ND6 RSS News Feed RSS Comments Feed Geo URL RSS Validator BlogSphere
Powered by
Blogsphere