2 Replies Latest reply on Nov 28, 2016 8:35 AM by james.n

    Get the state of export options on the toolbar

    Sean Ashouri

      My application renders tableau reports in an iframe using the javascript api. We also have our own toolbar built in custom javascript that allows the user to export the data from the active sheet they are on. Only problem is when the user selects one of our custom export options(pdf, excel, csv) button, and the option is disabled on the tableau workbook toolbar then the user will get a tableau error popup window "Variable is null....". I want to be able to disable specific export options on our end if it is disabled on the tableau toolbar. Is it possible to get the state(enabled/disabled) of each export option using the tableau javascript api?



      I think it may be an event that I need to listen to for whenever data, filter, or a new tab is selected.