3 Replies Latest reply on Aug 1, 2016 10:31 AM by Roshan Shrestha

    Create a button to export the current state of the dashboard to PDF using Tableau server

    Steve Wexler

      I have a client that wants to use embedded dashboards and not display the toolbar as they do not need (nor want) “Share”, “Pause Auto Updates”, etc.

       

      They do, however, very much want to allow users export the current state of the dashboard to a PDF. Essentially, they want to disable the built-in toolbar (easy) and add their own button to the surrounding UI that when clicked would export the dashboard.

       

      I see that the JavaScript API has a showExportPDFDialog() method.  Can someone tell me how I can fashion a button that when clicked would display the Export PDF dialog box?

       

      (and while I'm at it, I suspect they will want to expose the RevertAll functionality as well).

       

      Thanks,

       

      Steve