Skip to main content

In Tableau we use getactivesheet() to get the sheet of Workbook() inside viz.getWorkbook(). Usually, there are many sheets inside a Workbook. When trying to follow the instructions on the Tableau JavaScript API help website, we got the sheet retrieved from the currently active sheet, but we couldn't find a way to retrieve all sheets from the workbook. I know how to get the active sheet. I wanted to know if there is any possibility for all sheets of a workbook.

Can you help me with this?

Note that I need to get all sheets, not the sheet information, and get data from all sheets.

I followed this instruction from the blog of the tableau. 

https://help.tableau.com/current/api/js_api/en-us/JavaScriptAPI/js_api_ref.htm

4 answers
  1. Jul 9, 2024, 3:18 PM

    @Chris McClellan​ - I have been trying to get the sheets using version 3.15 API but no luck. No way to upgrade as well. Any tips ? I am trying this from node but after all it is the api. I tried site/id/views, workbooks/id/view so far. I am able to get all the views and not the sheets.

0/9000