I have one Viz and one workbook with two dashboards (1=Overview, 2=Alpha) in the workbook. I want to use the function below, switch View(), to switch between dashboard 1 and dashboard 2 using an HTML button. The button and associated onClick or onChange event is not an issue. I know how to do this.
Here's the problem, the function can't find the dashboard (Alpha) if hide tabs is set to true. It says object can't be found. It can find the dashboard (and switch to it) if hide tabs is set to false. But, that defeats the whole purpose. I don't want the tabs visible.