Publish Tableau workbooks connecting to published datasources using Python and the REST API

Поделиться
HTML-код
  • Опубликовано: 4 фев 2025

Комментарии • 18

  • @naveenkumar-jn5mz
    @naveenkumar-jn5mz Год назад

    Hey, Is it possible using Advanced analytics(Tabpy- python or Rserve-R lang) in tableau workbook, can able to publish into Tableau Online.

  • @shreyashmovale941
    @shreyashmovale941 Год назад

    Hey is it possible to apply a filter view in tableau from databricks notebook using python and then downloading the view image?

    • @divinorum-gaming
      @divinorum-gaming Год назад

      Assuming the notebook is similar to a Jupyter notebook (you're just executing normal Python in a notebook) then yes you can make full use of the Tableau REST API and this library (tableau-api-lib). This library just eliminates some of the boiler plate code that you would need to implement in order to make use of the Tableau REST API. How you use that library with your own Python code in a notebook is then up to you.

  • @cargouvu
    @cargouvu 2 года назад

    We have a dev and prod server. Is it possible to push from the dev server to the prod server using apilib?

    • @devyx
      @devyx  2 года назад

      Manually migrating users/groups/content from one Tableau environment to another using REST API endpoints is challenging.
      Tableau has a tool called the Content Migration Tool which is designed for this.
      Manually migrating via REST API is technically possible for some scenarios, but it involves heavy custom development and having attempted this in the past I do not recommend.

  • @fabersoaks4975
    @fabersoaks4975 2 года назад

    Does this work for tableau online too?

    • @devyx
      @devyx  2 года назад +1

      Publishing in and of itself works the same on TS and TO. Where you will probably run into differences is schedules and connections between TO and your databases. In TS you have full control of the environment, whereas in TO you are basically renting a site on a massive Tableau Server where certain configurations are not under your control.

    • @fabersoaks4975
      @fabersoaks4975 2 года назад

      @@devyx Thanks!

    • @sparvathaneni1
      @sparvathaneni1 2 года назад

      @@devyx Can we publish tableau workbooks from one site to a different site on the tableau server ?

    • @devyx
      @devyx  2 года назад +1

      ​@@sparvathaneni1 If it's the same Tableau Server environment, you can download a workbook from one site and publish it to another site.
      If you want to publish a workbook to a different Tableau Server environment, things get a bit more complicated as you will most likely have to edit the XML to replace any references to server A with references to server B.

    • @sparvathaneni1
      @sparvathaneni1 2 года назад

      @@devyx In this case we have all the required sites on the same server. We are consolidating 2 sites into 1. I am trying to see if there is anything out there which can be automated to achieve this.

  • @Yuvrajsingh-es8sk
    @Yuvrajsingh-es8sk 3 года назад +1

    hey, is it possible you can put your codes on github and provide links?

    • @devyx
      @devyx  3 года назад

      Hey Yuvraj, yes I'll update the video description with links to code once I set that up and I will also do this moving forward for other videos.
      In the meantime, if you visit the written Medium tutorial linked in the description you will find code examples and all of those articles link to GitHub gists.

  • @sureshkadiyam5338
    @sureshkadiyam5338 2 года назад

    Is it not throwing SSL certificate error?

    • @devyx
      @devyx  2 года назад

      An SSL error would indicate some infrastructure issues you'd need to troubleshoot. You can also disable SSL in your connection instance by setting ssl_verify=False, but that's definitely not recommended for production.

  • @pkumarmanna2013
    @pkumarmanna2013 2 года назад

    Throwing invalid token error !!
    Though I am damn sure used the correct token name and token secret code !!