server-client-python icon indicating copy to clipboard operation
server-client-python copied to clipboard

View Acceleration disappears when publishing a dashboard using the TableauServerClient API

Open Cloudy17g35 opened this issue 2 years ago • 1 comments

Hi,

Python version: 3.10.1

Tableau Server version: 2022.3.0 (20223.22.1005.1835) 64-bit Linux

tableauserverclient version: 0.19.0

I will give you an overview of the situation:

Let's say that you have published dashboard to tableauserver and accelerated some views in it. Then you want to publish the same dashboard (on the same tableau site, project and with the same name) but using tableauserverclient API - .using publish() method on WorkbookItem. In this particular case all accelerated views are annulled.

Is there any way to use .publish() method and not overwritte these accelerated views?

I cannot see anything in tableauserverclient documentation about this topic, but it might be very useful if we might pass list of views (as a list of strings) which we want to be accelerated. I think that similar behaviour is already implemented for hidden views.

Thanks,

Ksawery

Cloudy17g35 avatar Apr 13 '23 08:04 Cloudy17g35

I'm pretty sure this functionality needs to be implemented in the REST API, I'll get this to the relevant team.

jacalata avatar May 25 '23 07:05 jacalata