Skip to main content

Hello All,

 

We are embedding the dashboards using JS API and have several filters which user can apply. We also allow the user to save certain set of commonly used filters and load the view directly.

 

There is a issue we keep running into, when the user loads a dashboard and then loads a view say "A" the view loads fine but then when the user tries to load view "B" the dashboard goes blank and none of the view works.

 

Looks like there seems to be some caching issue which prevents the views from loading fine because when we do "revertAllAsync()" before loading every view the views load fine and subsequent views also load fine, but this adds a additional layer of unnecessary call where we need to wait for the view to clear before loading a new view.

 

Should we use set vizqlserver.clear_session_on_unload to true? But then the caching won't work.

 

Any ideas as to how to fix the issue would be great, Many Thanks.

1 resposta
  1. 3 de dez. de 2019, 15:38

    Hi,

     

    In case someone stumbles on this post, the way we fixed the issue was we added :revert=all to the URL when we were passing filters in the URL.

     

    more can be found about the :revert option here Parameters for Embed Code - Tableau

     

    Thanks.

0/9000