This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I am not 100% sure but I am pretty sure you can't for the following reason:
Alteryx can only upload data into Tableau Server (.tde/.hyper) and not workbooks twb/twbx. That said, you can use the tools to either create a data source or update one. On the other hand, the images of a Tableau Packaged Workbook are stored "within the workbook" (when you are publishing and select "include external elements"). I am almost 100% sure you can't host the images by themselves on Tableau Server and hence, you won't be able to publish an image into Tableau Server. Does that make any sense?
There are four ways that images are stored within Tableau workbooks:
- Custom files for Shape marks. These are stored in the .twb XML file using base64 encoding.
- Background images for views. These are stored in a /Image folder in a .twbx file (which is really a zip file), or if we just save a .twb that has a background image Tableau will create a folder with the name of the file and put the .twb and /Image folder with image(s) in it.
- Image objects on dashboards. These are also stored the /Image folder.
- Images for button objects on dashboards. These are also stored in the /Image folder.
There are two other ways to display images:
- Use a background image that is pointing to a URL for the image
- Use a web page object on a dashboard that points to a URL for the image.
Personally I'd suggest one of the latter two because keeping an image file updated on a web site is can be easier than getting an image into a Tableau workbook, plus updating the image in that case doesn't require republishing the workbook. If your Tableau Server is configured in a certain way (which changes from release to release) then it's theoretically possible to have Tableau Server be serving up those images.
If you need to embed the image in the workbook (one of the first few methods) and you're publishing from scratch then my suggestion would be to create the workbook in Tableau with a placeholder image, then save it as a .twb to create the .twb and folder structure. Then you can set up your Alteryx workflow to update the image as necessary and then use Ben's macro to publish the .twb.