Setup Extension Components

Google Spreadsheet Endpoint

To allow write back data the extension needs an Endpoint to send the data.

To allow a simple deploy you can copy this Google Spreadsheet and configured it to allow the extension to send data to it;

If you need a more detailed step-by-step setup follow the link: Spreadsheet Configuration

After copying the Spreadsheed do the following:

  1. Open the Spreadsheet;
  2. Go to Extensions -> Apps Script;
  3. You will see that there is already a script there. This will be your REST API that will get the data from Tableau;
  4. Select Deploy -> New deployment.
  5. Under Description, you can place, for example, "Write-Back Free".
  6. Under Execute the app as, select whose authorization the app should run with: your account (the developer's) or the account of the user who visits the app (see permissions).
  7. Under Who has access to the app, select who should be allowed to visit it. Select: "Anyone".
  8. Click Deploy.
  9. You will be prompted to allow the application to access your google spreadsheet, if you are not prompted to do it, please run the setup and enable the script to access your spreadsheet;
  10. You will get a link like this: https://script.google.com/...
  11. You will need this link to send the Extension endpoint;

Tableau Extension

  1. Download the trex file. Use the button Download Manifest File
  2. Copy the .trex file from the `manifest` folder to ...\My Tableau Repository\Extensions` so they are available to Tableau (This is not required because you can open it anywhere in your computer, it's just to keep this clean);
  3. Launch Tableau and in the Dashoard select the Extension to use.

Extension Configuration

When you run the extension for the first time a Configuration Menu will Pop Up;

  1. "Select the Worksheet" from where you want to get the data to see in the extension;
  2. "Endpoint URL": Add your URL where, if you used the Google Spreadsheet add the https://script.google.com/... here;
  3. "Select the Spreadsheet": If you are using Google Spreadsheet this will set the Sheet name;
  4. "Add Columns": This allows you to add new columns to the Extension Table like comments that you want to add;
  5. When you are done just it the "Submit" Button;