When you try to use a URL action to view local images on Tableau Server or Tableau Cloud, the following error might occur:
The behavior encountered when attempting to link to a local file from a URL action within a dashboard hosted on Tableau Cloud or Tableau Server is expected. This is due to security implementations within Tableau Cloud or Tableau Server which address potential vulnerabilities when linking to local files, these security enhancements were implemented in Tableau Server 8.1.
Add URL protocol schemes to the safe list by using the tsm configuration set command. The schemes http, https, gopher, news, and mailto are whitelisted by default. This command can contain multiple comma and space-separated values enclosed by double quotes, as in this example:
tsm configuration set -k vizqlserver.url_scheme_whitelist -v scheme1, scheme2The values you specify overwrite previous settings (excluding the default settings). Therefore, you must include the full list of schemes in the set command. (You cannot amend the list of schemes by running the set command repeatedly.)
The list should consist of schemes - such as mailto, file, or javascript - rather than individual urls. The following command is not valid:
tsm configuration set -k vizqlserver.url_scheme_whitelist -v file:\\pathtomyfilehereFor example, to whitelist the >file protocol:
tsm configuration set -k vizqlserver.url_scheme_whitelist -v filetsm pending-changes applytsm startImportant: Only Internet Explorer allows the use of the file protocol. Chrome and Firefox block the file protocol for security reasons and whitelisting this protocol in Tableau Server cannot force Chrome or Firefox to allow the file protocol.
Host the files on an external webserver that can be accessed via http or https. If the files within the desired folder were hosted on a webpage, the URL Action should work as expected within Tableau Cloud and Tableau Server.
001473812

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.