2 of 2 people found this helpful
Hi Joe, a workbook is represented using xml (twb is straight xml, twbx is a zip file that contains the twb along with other things). If you're making a simple change, it shouldn't be difficult to write a program that takes a base/template workbook and generates a modified version. Note that the xml structure is not documented or supported (and could change between versions) so you may have to do some experimentation. Good luck!
FYI I've heard this might be against EULA... but yeah. What Jeff said.
Dmitry, why do you think this might be against the EULA?
1 of 1 people found this helpful
I've heard it in hallways couple of times. I scanned through it yesterday but couldn't find anything incriminating but I don't speak lawyer.
Please don't quote me on that :/
I was also surprised to this this on the blog today: Convert the Version of Your Tableau Files with This Handy Tool | Tableau Software
I guess we are cool about this.
I would assume that the base software application is under EULA e.g. tableau.exe. Once the .twb is saved it's pretty much all XML (except for the thumbnails) and thus quite easily manipulated, subject to what Jeff mentioned.
I'm with Dmitry on this. The blog strongly states in the very beginning this is "not supported". Just like most of the stuff (for example) Russell Christopher presents at most of the conferences. Please don't confuse 'posting' an outside the box solution, with 'sanctioning'; otherwise they'll stop presenting them.
However, I think on this one I'm missing something.
- Open a twb in Notepad++
- Do a search/replace on all '9.3' with '9.1' (including the single quotes) and you're done. It's never failed for me.
Like Toby mentioned, if you don't know that all twbx files are actually zip files, that contain the twb file that is actually an XML file, then you shouldn't be playing in this space anyway.
From what I understand, It is against the EULA to programmatically modify a workbook and then view it outside of Tableau Server or Desktop - In other words, if someone takes a single workbook, then "reproduces" it (modifies filters, replaces extracts,whatever) for people to view in Tableau READER (avoiding the purchase of Desktop for all the end consumers along the way) you've done wrong.
If you hack the XML and then just turn right around and view it in Desktop or Publish to Server (which you've paid for), then no foul (as long as you understand that this stuff is unsupported).