Category: Extension API

  • Tableau Extensibility Framework – More Use Cases

    Tableau Extensibility Framework – More Use Cases

    This post is a follow-up of the “Tableau Extensibility Framework” blog post which talks about a very interesting advanced analytics manufacturing use case. The video below shows 2 more scenarios of how you could leverage the very same framework for:

    • generating geographical data at the time of analysis in order to optimize the workbook for performance AND generate data which is missing in order to correct upcoming questions (as missing data could lead to wrong conclusions)

    • leveraging machine learning to find similar contracts/cases/data points in external applications/systems/databases to learn from decisions which already have been made in the past to make it more likely to 
      • close a deal
      • solve a support ticket faster
      • make a smarter data driven decision based with AI/ML support

    I’m looking forward to hear your ideas around what you’d like to achieve with such an extension after you’ve watched the video. So please actively use the comment section underneath.

     

    Demo

     

    S

  • Tableau Extensibility Framework

    Tableau Extensibility Framework

    The first thing you should notice about this blog post is, that it has got a highly precise name “Tableau Wafer Extension”, but the word “Framework” attached to it. The reason is, this Tableau Extension solves a highly specific problem, but it can be leveraged to solve way more challenges!!! Therefore don’t look at it as a single highly specific Extension, but focus on the different modules and what they’re doing and think about your own scenarios where:

    • Using selected marks to trigger something outside of Tableau,
    • Generating images on-demand,
    • Visualizing images in a certain context,
    • Sending JSON data from your Extension to a WebService,
    • Calling a Python script from your Extension or
    • Writing enriched data back data into a database

     would be of value!

     

    How can I get it?

     

    Architecture

    High Level Architecture

     

    Demo

    Demo

    First 7minutes: Use Case Description + Wafer Extension Demo. The rest of the time is focusing on a Technical Deep Dive into it in order to let your tech-guys adjust it to your needs.

     

    System Requirements:

      • Tableau Desktop (2020.2 and higher)
      • Port 5000 needs to be open/free (Flask Webserver)
      • Postgres database v11 (v12 not yet supported as of post date)
        • Postgis installed
      • Python 3.8 mit Anaconda 
      • Admin rights

     

    Installation

    Step-by-Step Installation

    1. Setting up the database with Ludwig Ehlert’s Postgres 11 install-setup walkthrough
    2. Download this Github repostory 
      • with the Tableau Extension
      • the TREX manifest file which points to the Tableau Extension
      • The v2020.2 Tableau Workbook
      • Python file with Flask Webserver
    3. Extract somewhere on your machine where you’d like to run the WebServer from in the next step (Ready. Set. Go!)
    4. Install Python 3.8 with Anaconda (leverage this ENV file for all the library dependencies: wafer_ext_env)

     

    Ready. Set. Go!

    Ready. Set. Go!

    You can finally start your Flask WebServer which is part of the “json_io.py” script. For Windows open up Anaconda command line console as Administrator and type in the following commands (for Linux users: you know what you’re doing! 😉

    
    cd C:\<THE PATH WHERE YOU EXTRACTED THE WAFER EXTENSION TO>
    
    conda activate flask
    
    set FLASK_ENV=development
    
    python json_io.py
    Now you should be all set! So please open up the Tableau Workbook within the 7Zip file and repeat what you can find within the demo video section.
    
    
    

    Troubleshooting

     

    Troubleshooting

      • Open up the “json_io.py” within a text editor and adjust the rows underneath “#####DB info” so that they do exactly match with your database setup.
      • If you run into issues please try to change the locale settings of the laptop you’re running the Tableau Workbook on to English (United States)
      • Make sure port 5000 is free
      • Check the logs within the Anaconda console
        • If you’re encountering a “ValueError: could not convert string to float:” within Anaconda’s debugging console simply change your workbook locale in Tableau Desktop to “English (United States)”
      • Debug the Tableau Extension similar to how I demonstrated it within this video:
      • With these steps in mind, please ask questions within the commenting area underneath if you’re having other issues in getting the Extension up and running

     

  • How to write back data to Snowflake?

    How to write back data to Snowflake?

    Preface

    This document assumes you are already using or used or aware of the base set up from  Timo’s  Extension write back to MYSQL. You can use the same XAMPP or your web server and PHP (which is used to INSERT/Writeback to Snowflake DB). 

    Step 1: Create Role in Snowflake 

    Create a Role That would have access to INSERT Operation to the Database/Schema/Table Object. The same Role would be used in the PHP properties

    Step 2:  Assign the Role to Database Object

    As mentioned in MYSQL blog create a Table in Snowflake under a Database for example under Sales DataBase and name it Writeback and just as screenshot above you can give the option to give Writeback to any Table under Sales Database like did above or you could just select the Table “Tableauinsert” only and give the permission only on that Table (which is recommended). I have a created a new role called Writeback just for the purpose that users who belong to that this Role can do Insert/Select/Delete  operations and assigned this Role to Whole DB “Sales”.

    Step 3: Download and Install required Snowflake Drivers

    • PHP – I installed a separate PHP version 7.2.11. You can just use your existing PHP version as well which comes default with XAMPP, but make sure you have PHP version 7.1 or greater for Snowflake ODBC Drivers compatibility
    • Next, you do need Snowflake PDO drivers that need to be installed (download this from git https://github.com/snowflakedb/pdo_snowflake)
    • Next configure your PHP.INI file to add the extension=pdo_snowflake.so 
        • If you don’t have .ini file or having issues with adding the PDO extension you can still execute the .php file with below command . $PHP_HOME/bin/php -dextension=modules/pdo_snowflake.so INSERTDB.php
        • Note that INSERTDB is my PHP file and all the syntax are the same 
        • Now coming to the PHP file itself everything stays the same expect the Snowflake PDO connector needs to be called and few other syntaxes like a warehouse to use etc. Note only the blue highlighted code is modified for snowflake (PDO connection and specify the which warehouse to use to run the insert operation)
        • PHP File Content , You do need a Warehouse -Snowflake computing Node to run INSERT operations( I am including only the info that is needed for Snowflake change, everything else remains the same from MSQL blog) 

          $account = “demo130”;

          $user = “rmakkena”;

          $password = “xxxxxx”;

          $warehouse = “RITHESHDEMO”;

          $dbh = new PDO(“snowflake:account=$account;insecure_mode=true”, $user, $password);

          $sth = $dbh->query(“use warehouse RITHESHDEMO”);

     

    Same steps you might already followed for writing back data to Microsoft SQL Server or SAP HANA (“copying all the required files of the extensions”)

     

    • Step 5: Update your MarkSelection JS file to refer to this PHP file created above.

     

    • Step 6: Follow the same steps from Timo’s original blog to test the insert records update from Tableau Dashboard and you’re done with Tableau writeback to Snowflake

    Note: If you are aware of Snowflake concepts, you can use Transient Tables for these Insert Operations or even get creative and use Temporary Tables if the Tableau requirement is What-If analysis for Session only ( Users will do What if Analysis on Tableau by doing writeback-modify in WebEdit mode and once they close the report the loose the session –this is particularly good for added security& enabling all users to do to have access to Writeback and do instant What-if Analysis  ). 

  • Write Back Extensions – 3 in 1 Quickstart

    Write Back Extensions – 3 in 1 Quickstart

    In this blog post you can get all 3 Tableau Write Back Extensions as part of a larger demo asset – a Tableau Server Site which demonstrates all kinds of cool things on the Tableau Platform. Nevertheless people are regularly asking how to just quickly demonstrate how Tableau Write Back capabilities can look like. So this blog post is just about how to get the 3 Tableau Workbooks from above which include (Write Back Extensions) up and running as fast as possible?!

    How can I get it?

    Demo

    Demo

    System Requirements:

    • Windows operating system
    • Port 8888  needs to be open/free (Webserver)
    • Port 3306 needs to be open/free (MySQL)
    • Tableau Server 2018.3 or above

     

     

    Step-by-Step Installation

    Step-by-Step Installation

      1. Download this customized XAMPP 
        • Port 8888  needs to be open & free (Webserver)
        • Port 3306 needs to be open & free (MySQL)
      2. Extract it into C:
      3. Start the xampp_start.exe within C:\xampp-tableaufans
      4. Download and open the Tableau Workbooks
      5. Database password is “admin

    Troubleshooting

    • Troubleshooting

      • Port 8888  is already in use before starting Xampp
        (Change the port)
      • Port 3306 is already in use before starting Xampp
        (Change the port)
      • You’re using an older Tableau Version than 2018.3.x
        • Download and install Tableau Desktop 2018.3.x or above
        • Open up the workbooks from step 4
        • Go to File > Export As and select the version that you want to downgrade to  
        • Keep in mind that the version needs to support Tableau Extensions. Therefore 2018.2 or above is required

       

      • If it’s still not working see how you can debug Tableau Extensions generally

        Files from the Video:
        1. Download Chromium
        2. Start Tableau Desktop 2018.3 (with Extension in Debug Mode)

    FYI

    P.S. Database User/Password are both “admin/admin” for all examples where workbooks leverage the MySQL database on Xampp you’ve been downloading above. You can have a look at the tables being used via http://localhost:8888/phpmyadmin/db_structure.php?server=1&db=tableaufans

     

     

    Please let us know if this has been helpful and what kind of scenarios you’re looking forward to solve with it.

    TREX Files

     

     

  • Tableau Write Back Extensions

    Tableau Write Back Extensions

    Are you interested in trying the following 3 Tableau Extensions in your own environment?

    • If so, please follow the instructions from this blog post as it contains all 3 of them + much more as a Tableau Server Site which your can import 
    • Or this blog post if you want to get them up and running in just a few minutes 😉

     

  • How to write back data to Microsoft SQL Server, MySQL or SAP HANA?

    How to write back data to Microsoft SQL Server, MySQL or SAP HANA?

    Last year in March I’ve been posting an extension which allowed Tableau end users to write back data directly from within a dashboard. Back in the days Tableau Extensions have been available in BETA only. Today – roughly 12 month later – 2 Tableau ROCKSTARS joined me on Tableaufans.com and shared their modified versions of the original extension. Therefore I’m happy to announce that you can now simply start to setup the extension you can see in the video below by:

     

    1. Must: Follow the instructions from the initial blog post
    2. Optional:Modify the Extension files from above to either

      a) Adjust files to write data back to Microsoft SQL Server

      b) Adjust files to write data back to SAP HANA

    You’re good to go. If you are interested in commenting single data points like outliers and having a conversation around them rather than commenting a whole dashboard find this Tableaufans Commenting Extension

    Other than that we’re always looking for feedback. So please give us an idea how helpful this blog post has been by leaving us a short comment below. Thanks a lot, Timo.

     

  • How to write back data to SAP HANA?

    How to write back data to SAP HANA?

    Preface

    This document assumes you are already using or used Timo’s  Extension write back to MYSQL. You can use same XAMPP, however since I already have npm on my machine I was using that as a webserver to host the PHP file which finally writes back the data to SAP HANA.

    Extensions work for both HANA 1.0 and also 2.0(XSA-HDI)

    Step 1: Create a New User on HANA if you don’t already have one

    Make sure the user has a content admin role over the required schema (synonyms/CDS objects if using 2.0).

    Step 2:  As mentioned in MYSQL blog post create similar tables in HANA. You can create a columnar or a row table in HANA according to your needs. Both will work for this solution.

    Note :For autoincrement in HANA for any column you would need to define the column as primary key and make it as IDENTITY 

     

    Step 3: Download and Install required Drivers

    • The code used the 32 bit HDB HANA driver. Execute c:\Windows\SysWOW64\odbcad32.exe in run
    • Download the HDB 32 bit HANA driver from SAP market place(SAP made it far more easier now to download the drivers)
    •  install the drivers 

     

    Step 4: Follow the same instructions from Timo blog post over copying all the required files of the extensions.

    Before testing the HANA insert records PHP file, make sure to modify the ini file under location xampp\php in my case it is under npm. Modifaction requires you to just uncomment below two dll libraries which are already in the INI file.

    extension=php_pdo_odbc.dll
    extension=php_odbc.dll

     

    Step 5: Inserting records into HANA PHP file

    Below is the code : You can run this PHP from your browser to test if statements are working. Easiest way is use Select ‘A’ from dummy staement or even simple INSERT statment with dummy values into the table you created.

    <?php
    $customerName = $_POST['name'];
    $clusterName = $_POST['cluster'];
    $checkBox = $_POST['checkbox'];
    $userInput = $_POST['userinput'];
    $selectedMeasure = $_POST['measure'];
    
    if (! extension_loaded('odbc'))
    {
    die('ODBC extension not enabled / loaded');
    }
    
    
    $driver = 'HDBODBC32';
    
    $host = "HANA:30015";
    
    // Default name of your hana instance
    $db_name = "HDB";
    
    // Username
    $username = 'makkena';
    
    // Password
    $password = "HANA";
    
    // Try to connect
    $conn = odbc_connect("Driver=$driver;ServerNode=$host;Database=$db_name;", $username, $password, SQL_CUR_USE_ODBC);
    
    if (!$conn)
    {
    // Try to get a meaningful error if the connection fails
    echo "Connection failed.\n";
    echo "ODBC error code: " . odbc_error() . ". Message: " . odbc_errormsg();
    }
    else
    {
    // Do a basic select from DUMMY with is basically a synonym for SYS.DUMMY if you need to test in HANA
    $sql = "INSERT INTO CPG.getdataandwriteback (ClusterName,CustomerName,CheckBox,UserInput,SelectedMeasure) VALUES ('".$clusterName."','".$customerName."','".$checkBox."','".$userInput."','".$selectedMeasure."')";
    $result = odbc_exec($conn, $sql);
    if (!$result)
    {
    echo "Error while sending SQL statement to the database server.\n";
    echo "ODBC error code: " . odbc_error() . ". Message: " . odbc_errormsg();
    }
    else
    {
    while ($row = odbc_fetch_object($result))
    {
    var_dump($row);
    }
    }
    odbc_close($conn);
    }

     

     

    Step 6: Update your MarkSelection JS file to refer to this PHP file created above.

    • Assume you are using Timo JS code, just rename the reference of  Timo’s INSERT PHP file to HANA one that you created in Step 5.
    • Also since Timo’s dashboard is using the data source name as MYSQL you might have to change that in case you decide to change the data source name in your dashboard. For example, if I created the Data Source named HANA on these Tables create in the above steps I will have to change the JS script code referencing the data source name.

     

    Step 7: Follow the same steps from Timo’s original blog to test the insert records update from Tableau Dashboard and your done! 😉

  • How to write back data to Microsoft SQL Server?

    How to write back data to Microsoft SQL Server?

    Preface

    This document assumes you have fully installed XAMPP, MySQL and Tableau Extensions per this blog: https://tableaufans.com/extension-api/tableau-extension-api-write-back-updated-source-code-for-tableau-2018-2/

     

    Step 1: Create a New SQL Server User

    Log in to the SQL Server you want to setup for write back with SSMS.  Create a new User called ‘Tableau’ with the Password ‘Tableau’.

    Step 2:  Add Write Back Table to SQL Server

    While still in SSMS, add a Table for writing back to called ‘tbl_WriteBack’ to a database of your choice.  I used a database named ‘Test_Dynamic’ for my purposes.  The table as am [ID] integer with an identity and serial increase and 2 nvarchar(50) for [ColumnName] and [TextValue].

    Step 3:  Give the Tableau User CRUD Permissions to the tbl_WriteBack

    Use SSMS to update the permissions for the ‘Tableau’ user to be able to CRUD the new table created in Step 4.

    Step 4: Duplicate the MySQL Writeback Code

    Copy the Entire Directory C:\xampp\htdocs\extensions-api-master\myExtensions\Tableaufans-WriteBack-2018.2 to C:\xampp\htdocs\extensions-api-master\myExtensions\SQL Server

    Step 5: Create new TREX file

    Copy the Tableaufans-WriteBack-2018.2.trex file in C:\Users\dspezia\Documents\My Tableau Repository\Extensions to the same directory and rename it SQL Server Write Back.  Edit the TREX file to path to the correct write back JS and HTML.  Edit the <URL> Element to:

    <url>http://localhost:8888/extensions-api-master/myExtensions/SQL Server/index.html</url>

     

    Step 6: Install SQL SVR for PHP

    Get the latest SQL Server for PHP 7 drivers from https://docs.microsoft.com/en-us/sql/connect/php/step-1-configure-development-environment-for-php-development?view=sql-server-2017.  Unpack the SQL Server drivers to C:\xampp\php\ext by running the SQLSRV53.EXE.  You only need the php_pdo_sqlsrv_7_ts_x86.dll and php_sqlsrv_7_ts_x86.dll so you can delete the other sqlsrv dlls that were installed.

    Step 7: Update the PHP Settings

    Update php.ini to point to the new DLLS for SQL Server.  Update php.ini in C:\xampp\php to include the 2 new extensions.  I added them at lines 877 and 878.

    extension=php_pdo_sqlsrv_7_ts_x86.dll
    extension=php_sqlsrv_7_ts_x86.dll.

    If you don’t do it write you will see “PHP Fatal error:  Uncaught Error: Call to undefined function sqlsrv_connect() in C:\\xampp…” in the apache error log in xampp C:\xampp\apache\logs\error.log

    Step 8: Update the PHP Code

    Update the writeToDb.php code found in C:\xampp\htdocs\extensions-api-master\myExtensions\SQL Server\php.  I set mine up like this:

    <?php
    
    $customerName = $_POST['name'];
    $clusterName = $_POST['cluster'];
    $userInput = $_POST['userinput'];
    $checkBox = $_POST['checkbox'];
    $selectedMeasure = $_POST['measure'];
    
    $serverName = "localhost";
    $options = array( "UID"=>"Tableau", "PWD"=>"Tableau", "Database"=>"Test_Dynamic");
    $conn = sqlsrv_connect($serverName, $options);
    
    if( $conn === false )
         {
         echo "Could not connect.\n";
         die( print_r( sqlsrv_errors(), true));
         }
    
    $query = "INSERT INTO [dbo].[tbl_WriteBack] (ColumnName,TextValue) VALUES(?, ?)";
    $params1 = array($customerName,$userInput);
    $result = sqlsrv_query($conn,$query,$params1);
    
    sqlsrv_close($conn);
    
    ?>

     

    Step 9: Update the JS Code

    You need to update the refresh code to update the new SQL Server Data Source.  Open the JS file MarksSelection.js in C:\xampp\htdocs\extensions-api-master\myExtensions\SQL Server.  And change the Refresh Section line 467 to 476 to this:

    var datasourceName = dashboardDataSources[dataSource.id].name;
    
                          if (dashboardDataSources[dataSource.id].name == "DatasourceSQL")  {
    
                                 //refreshDataSource(dashboardDataSources[dataSource.id]);
    
                                 //alert("id: " + dashboardDataSources[dataSource.id]);
    
                                 //alert("dataSource.id: " + dataSource.id);
    
                                 refreshDataSource(dashboardDataSources[dataSource.id]);
    
                                 console.log("refreshSQL() was called for Datasource Name: 'DatasourceSQL'");
    
                          }
    
    
    
                         //refreshDataSource(dashboardDataSources["DatasourceSQL"]);

    Step 10: Update the TWB

    Duplicate the TWB for MySQL Write Back.

    Add a Data Source to the tbl_WriteBack named “DatasourceSQL”

    Add a Viz to Display Data from the new WriteBack Table.  Replace the Pipeline after Planning Chart with the new Viz and replace the Old Ext with your new Ext.

    Step 11: Have Fun!

    Start your MySQL and Apache Server in XAMPP and have fun!

  • Tableau Commenting Extension

    Tableau Commenting Extension

    Which problem does it solve?
    It solves the problem of having discussions around particular outliers in visualizations. You can basically select any mark on a dashboard, create a new comment for it and review what other people discussed about it. This particular Tableau Extension is commenting on Order IDs, but you can easily adjust it to comment on mark you want!
                                                    
                                                
                                                    

    How does this look like? 

    How can I get it? 

    Step-by-Step

    Step-by-Step Installation

    1. Extract both Extensions into “My Tableau Repository/Extension”
      Download Extensions here
    2. Extract Xampp (Webserver + MySQL directly into your C: drive)
      Download Xampp here
    3. Start C:/xampp/xampp_start.exe as administrator
    4. Start Tableau Desktop 2018.3.x or a higher version and open up one of the following workbook
      Download Workbooks here

     

     

    Video Installation

    Video Installation

     

    Troubleshooting

    Troubleshooting

    • Port 8888  is already in use before starting Xampp
      (Change the port)
    • Port 3306 is already in use before starting Xampp
      (Change the port)
    • You’re using an older Tableau Version than 2018.3.x
      • Download and install Tableau Desktop 2018.3.x or above
      • Open up the workbooks from step 4
      • Go to File > Export As and select the version that you want to downgrade to  
      • Keep in mind that the version needs to support Tableau Extensions. Therefore 2018.2 or above is required

     

    • If it’s still not working see how you can debug Tableau Extensions generally

      Files from the Video:
      1. Download Chromium
      2. Start Tableau Desktop 2018.3 (with Extension in Debug Mode)

     

     

  • Tableau Extension API – Write Back – Updated Source Code for Tableau 2018.2

    Tableau Extension API – Write Back – Updated Source Code for Tableau 2018.2

     

     

     


     

     

    LATEST VERSION OF THIS WRITE BACK EXTENSION => CLICK HERE

     

     


     

     

     

     

    Due to the Google Analytics analysis I’ve done for the current quarter one can easily see that you – the Tableau community which we call “Tableaufans” – have been asking for more write back content. Would you agree?

    So as a very first step I’m going to attach a quick tutorial around how to get “Tableaufans-WriteBack-2018.2” up and running for Tableau’s latest release (2018.2) and above. If you haven’t heard about “Tableaufans.com’s Write Back Extension” yet, you might want to watch the ~4min video from one of the previous posts to understand what you could get by following these steps.

    1. In order to be able to leverage the write back extension you need to have a webserver and a MySQL database
      1. I’m using XAMPP version 7.0.23 which contains both. You can download it here.
      2. Once you’re done downloading it you can extract the folder directly into C:
        (By copying it directly into C: it would simply allow you to follow all of my tutorials around extensions and JS API just a little bit easier in the future.)
      3. Start “C:\xampp\xampp_start.exe” as administrator
    2. Download the latest extension-api-master here: https://github.com/tableau/extensions-api
    3. Extract the content and paste it into your webserver (C:\xampp\htdocs)
    4. Extract the zip below and create a new file path where you extract it’s content into:
      Tableaufans-WriteBack-2018.2.ServerLogic(HTML,PHP,JS,CSS,)
    5. Extract the *.trex file and copy it into C:\Users\<USERNAME>\Documents\My Tableau Repository\Extensions
      Tableaufans-WriteBack-2018.2
    6. Make sure your XAMPP (Webserver+MySQL database) is up and running
      1. Apache should use port 8888
      2. Mysql 3306
        -> (If this is not the case, please change your ports accordingly as it will help you to use more assets from Tableaufans.com in the near future)
    1. MySQL should have a database called ‘yoursqldb’ with a table ‘getdataandwriteback’:
      (if not, please use ‘yoursqldb.sql’ attached to create the table within a database called ‘yoursqldb’)
    2. Add a new user to MySql (direct link to the right user interface on MySql)
      1. User name: admin
      2. Host name: localhost
      3. Password: admin
      4. Re-type: admin
      5. Privileges: Data, Structure & Administration
    3. Extract and Open “Tableaufans-WriteBack-2018.2.twbx.zip” with Tableau Desktop
    4. Drag and drop extension into the canvas and choose the one you copied into C:\Users\<USERNAME>\Documents\My Tableau Repository\Extensions
    5. Allow data access to the extension:
    6. Choose “Pipeline” as sheet to choose data selections from:
    7. Happy write back your data 😉

     

     

    Troubleshooting:

    • If the data doesn’t get written into the database make sure that you’ve got a user called “admin” in MySQL with password “admin” with the following permissions:
      • http://localhost:8888/phpmyadmin/server_privileges.php?db=&viewing_mode=server
      • http://localhost:8888/phpmyadmin/server_privileges.php?username=admin&hostname=localhost&dbname=&tablename=&routinename=
    • If you want to debug Tableau Extensions generally you might want to have a look the following 2:21 min tutorial

      Start Tableau Desktop (with Extension in Debug Mode).bat
    • If you’re having any troubles in getting the extension up and running please leave us a comment below.
  • Tableau Extension API – Write Back – Source Code

    Tableau Extension API – Write Back – Source Code

     

     

     


     

     

    LATEST VERSION OF THIS WRITE BACK EXTENSION => CLICK HERE

     

     


     

     

     

     

    Due to the positive feedback of the write back extension from the video below I want to equip IT FOLKS with the right tools to setup the same environment on their machines for POC kind of situations as fast as possible. Please be aware of the fact that I might be referencing absolute paths in the code which means in order to be up and running as fast as possible you might want to copy the code to the exact same folder I did (C:)

    Download and unzip this content: writeBackV1.3(incl XAMPP and MySQL DB)

    1. Install – tableau-setup-std-main.18.0208.2310-x64.exe
    2. Copy “WriteBackV1.3.trex” into “Extensions” within your “MyDocuments” folder
    3. Extract xampp directly into your C: drive
    4. Start XAMPP – Apache MySql and Tomcat
    5. Start the “05 Start this BAT – Start Tableau Main (with Extension in Debug Mode).bat”
    6. Open this workbook in exactly the instance from above – Extension API – Write Back v1.3.twbx
    7. Open Chromium (exact same version as provided in the pre-release webpage) – To Remote Debug your Extension

     

    Optional:

    Cheers,
    TT

  • Tableau Extension API – Write Back

    Tableau Extension API – Write Back

    LATEST VERSION OF THIS WRITE BACK EXTENSION => CLICK HERE


    The video below is demonstrating how you could leverage Tableau’s Extension API to save a tremendous amount of time in your planning and forecasting processes. This is done by coding a Tableau Extension which is actually writing back data into your transactional database (e.g. CRM system) directly from within a Tableau Dashboard!

    I’m looking forward to get your feedback on it!
    Cheers,
    TT

     

    P.S. Interested in the workbook? Here you go: Interested in the Extension? Let me know 😉