This article will walk you through serving arbitrary (non-Tableau) content using the Web Server which Tableau Server runs:
However, the techinique above will put your files in a folder of the Web Server that the Tableau Server doesn't really "manage" - In other words, Tableau isn't going to prompt for a username and password in order to grab any of the files here.
Above and beyond this article, I don't think there is a supported way to do what you want. I'll see if I can find anything else interesting, though.
Thanks! If you find any way to get it behind the login let me know, that would be ideal.
Also, there is a typo in those directions. It refers to the "Program Files" directory where it should refer to the ProgramData directory.
Sure thing - And you're right, the article is "sort of" wrong. If you do a normal install accepting all the options, we'll land in \ProgramData.
If you specify the drive letter to install to, we'll land in in the location mentioned in the article. It should be more specific, though.
I actually did a bit more digging and turned up a few more places you could land your files - none of them are protected by the login, however.
Hello -- could you elaborate a bit more on where else the files could land? I manage Tableau Server but within a network that is beyond my department. I wanted to see if there was a way to upload .pdf and other non-Tableau documents to the Server without having to bother IT about it all the time.
Since Tableau is built to serve reports, we haven't added any mechanisms to upload non-Tableau content into "our" web server. As a result, you'll need to have access to the folder mentioned above. I guess you could ask the IT folks to put it on a fileshare, but I suspect they'll refuse. Granting users access to an area of the file system that's critical for an application isn't generally something IT is willing to do
Is this still possible with tableau Server 8 ?
I think so. Did you try it and see something not work?
Yup its still working, its just that initially I could not find the path that was mention from the knowledge base on my Server directory.
So for those who want to do this on Server 8.0, the path would be
C:\Program Files (x86)\Tableau\Tableau Server\8.0\wgserver\public\images
(change according to your own directory)
then in your URL action use http://<servername>:<port no if there is any>/images/<your filename or folder name>
to call the files
then your done.
I wanted to update this thread with a successful test of hosting Non Tableau files using the public img directory on server v 9.2.0!
If I place any file into this directory... D:\Tableau\TableauServer\9.2\vizportalclient\public\img\
Lets say I put a pdf in there. "Dashboard_User_Guide.pdf"
Then I can access that pdf in my company with a simple url to the img directory.