1 Reply Latest reply on Feb 7, 2017 11:38 PM by diego.medrano

    Replace Tableau Server "Session End Error Message" with Own Message

    Joe Ciliberti

      Is there any Java Script code that i can use to replace tableau error message with my own message when "Session Ended by Server" occurs.

      watch this video: https://www.screencast.com/t/T284O5nJyoAb

       

      Goal:

      To replace tableau messages with own message

       

      Use Case:

      In our web app the use is able to delete the data sources. As a result tableau will show the error message. My goal is to replace this with a user friendly message such as "The data source does not exist"

      TableauServerSessionEnd_Error.png

      Note:

      • On Tableau Server, the JavaScript API files are stored in the following location:

             Program Files\Tableau\Tableau Server\10.1\wgserver\public\javascripts\api

      • Here is the example to replicate the issue:

                Replace [Server Name] with the name of your own

                Replace the [RUL] with the tableau view url that points out to a specific tableau view in which it's data source has been deleted