tableau / embedding-api-v3-samples

Samples for the Tableau Embedding API V3.
MIT License
35 stars 13 forks source link

Paused Viz returns to Automatic when navigating between work books #19

Open ffrenzel-ur opened 4 months ago

ffrenzel-ur commented 4 months ago

I have an embedded workbook which I am embedding using Talbeau embedding API v3. My use case requires users to set many filters and to reduce round trip latency I use Javascript to pause the workbooks, and provide users with a global "Apply" button with which they can apply multiple filter actions.

The first dashboard that loads in my workbook works as expected, pausing the viz using Javascript works prevents each filter from applying automatically. When a user navigates to another Dashboard in the workbook (using a Navigation button), the Viz seems to enter an unstable state. Although viz.automaticUpdatesArePaused continues to return true, the Viz applies all filters automatically. Future calls to viz.pauseAutomaticUpdates execute but do not in fact pause automatic updates.