-
1. Re: Additional button - Tableau Server
mark santinoApr 16, 2018 11:03 AM (in response to Paweł Chorążewski)
Hi Pawel -
There are several methods of customizing the server interface, but the addition of out of context server administration tasks isn't one of them. If you're working within the framework of the server GUI, the menu options that are displayed on the tableau server interface are determined by the site role of the user signed in to the server. For example, if a server administrator or site administrator were to sign-in to the server, they would see options for USERS, GROUPS, SCHEDULES, TASKS, etc.; a site role other than those previously mentioned will not see these options.
Mark ....
-
2. Re: Additional button - Tableau Server
Paweł Chorążewski Apr 16, 2018 12:05 PM (in response to mark santino) -
3. Re: Additional button - Tableau Server
mark santinoApr 16, 2018 2:37 PM (in response to Paweł Chorążewski)
Hi Pawel -
There is a limit to the level of customization you can do using TABADMIN or Project folder changes. If you want to go deeper, you will have to use Javascript.
See here for the developer portal: Developer Forums
Mark .....
-
4. Re: Additional button - Tableau Server
Carisa ChangApr 16, 2018 4:55 PM (in response to mark santino)
Hi Pawel,
I wanted to confirm the change you've already made is not technically a change that is intended in Tableau Server - it won't be retained during an upgrade or a backup/restore of Tableau Server. Adding a url to the top bar is also not an available feature. If you'd like these added in the future, please add an Idea or vote on one that is already created on the Ideas forum:
Thank you
-
5. Re: Additional button - Tableau Server
Andrew Macey Apr 24, 2018 10:40 AM (in response to Carisa Chang)Simple example tested on 10.3.3. Remember to add to all nodes running Viz portal.
1.) Create file called ...\Tableau\Tableau Server\10.3\vizportalclient\public\add_google.js containing:
------------------------- start -----------------------------
(function($, document, undefined) {
function addLink() {
window.setTimeout(function() {
console.log('Running add_Google.js ...');
$('span[data-tb-test-id="alerts-menu"]').closest('div').parent().before('<a href="https://www.google.com" target="_google_tab"><span style="color: white;">google</span></a>');
}, 1000)
}
addLink();
})(jQuery, document, undefined);
------------------------- end -----------------------------
2.) Edit ...\Tableau\Tableau Server\10.3\vizportalclient\public\en\vizportal.html (also consider vizportal.html.gz, vizportaldebug.html etc.) and add this before </body></html> tags:
<script src="add_google.js?12345" type="text/javascript"></script>
Edited 4/24/18 to remove /thread/ that this page added to script tag.