Thinking to myself again...
One way I can think to get around this (and I believe someone above suggested this) is to simply copy the images into the Macintosh HD/users/shared folder on my HD (analogous to C:\ on Windows) and then make sure my colleagues all have that same set of images in their Macintosh HD/users/shared folder. Because the user name is not in this filepath, when Tableau looks for the image it should find it no matter whose machine it is. There is surely a more tech-savvy way of getting around this but it's the only one I can think of (at least until the relative path feature is implemented).
If anyone has other ideas of how they solved this, I'd love to hear them.
Thanks Tom. Now I see what you were getting at. You just opened each of
your workbooks in a text editor, then deleted the user-specific info in the
filepath for each of your images, then saved and it still works properly.
Now that twb/twbx can be shared with others, assuming they have the image
in the same relative location (i.e. their C drive or Mac HD). Please
correct me if I'm mistaken and thanks for your help.
On Thu, Jan 15, 2015 at 3:55 PM, Tom W <email@example.com
Exactly. Let's say I have a report saved in c:\Users\Tom\Downloads\ with an image called sortorder.PNG in the same folder.
I just change this;
And Tableau will now look for sortorder.PNG in the same folder. You can use relative paths as well so if you had a subfolder in Downloads called MyImages, setting the param to '\MyImages\sortorder.PNG' would work as well!
Unfortunately it looks like things have changed in later versions ... after editing the xml code to set the path relative, I opened and saved the twb and afterwards I had an absolute path again ...
Is there a way to stop Tableau from updating the path?
I gave up on relative paths a long time ago. Now we use packaged workbooks and embed our images in the workbook. It's hugely frustrating that Tableau cannot get something as simple as this figured out.
You could be the lucky 5th person to vote for my idea here - https://community.tableau.com/ideas/3933
Were you able to find a workaround?
I think we have the exact same issue.
Edit the xml to have a relative path or just ./logo.png save it
Open the workbook
Post that, if you check the xml again, it shows the entire absolute path again.