In this section
When you first add an extension to a dashboard, Tableau reads the extension’s manifest file (
.trex) and checks for errors. If the manifest file passes validation, Tableau registers the extension, loads the web page specified in the URL, and then caches information about the extension, such as the URL, the name of the extension, and the version number. Upon loading the web page, the extension runs the initialization code (
If you make changes to the manifest file after the extension is loaded and you want to see the results those changes, you need to remove the extension from the dashboard and then add it again. For example, if you were to change permissions for data access, or to add a configuration menu to your extension, you need to do the following:
Note that if you want to reload the page and you are using Chromium or another browser to debug your web application, you will need to close the browser and restart the session. This is because of a bug with our embedded browser. The Reload option actually tears down and re-creates the browser control, which means you’ll need to establish a new debugging session whenever you click Reload.
If your extension opens a configuration dialog box, or otherwise calls the
tableau.extensions.initializeDialogAsync() method, you don’t need to use the Reload option to see updates to your dialog box. You just need to close the dialog box and then either use the Configure… menu or click the control in the parent window that reopens the dialog box.