Hi George -
You essentially just need to duplicate the process you're already using. To display one view you:
- Target a specific <div> to host the content
- Instantiate a Tableau "viz" object which represents the workbook / viz you want to show in the <div>
To show multiple sheets from multiple workbooks, just use more divs and additional viz objects.
This uses 8-9 divs and 8-9 viz objects to display 8-9 distinct "reports".
Thank you for your answer. Use multiple Div to hold multiple viz object is correct.
For different user, there are different workbooks. Is there any API to get how many workbooks for specific user?
No. The JS API is a tool for rendering / controlling vizzes vs. administration. You can probably use the “baked in” metadata views in our database to figure out who owns what, though. Google “tableau admin views custom” for more information.
Thank you very much.