Tableau Server - Customising an embedded view by changing the structure of the view’s URL

by Anna Prosvetova

Did you know that you can embed interactive Tableau views and dashboards into webpages, blogs, and intranet portals? However, you may want to share different views of your dashboards with different end users. Tableau Server makes it easy to create custom views and share your work with different audiences just by updating the URL used for embedding.

The URL to a view or workbook on Tableau Server usually follows the structure below (parts in bold will change depending on your server):

“http://<servername>/#/views/<workbook>/<sheet>

If there are several sites on the same server, the link should include a reference to the site as well:

“http://<servername>/#/site/<sitename>/views/<workbook>/<sheet>”

For example, let’s look at this sample URL to the Superstore Analysis dashboard:

https://tableauserver.website.com/#/site/MainSite/views/SuperstoreAnalysis/SuperstoreAnalysis?:iid=1

We would like to embed it to an internal portal for the Furniture team in East Region, so we want them to see only sales for furniture in that region.

To do so, we would need to append a query string to the base URL above, following certain rules:

  • Remove “:iid=[*]” at the end of the base URL
  • Begin the query with a question mark
  • If there are several parameters you would like to add, separate them with ampersands (&)
  • If there are several values per parameter, separate them with commas. 

After these modifications, the final URL should be updated as follows (parts in bold are parameters, parts in italics are parameters’ values):

https://tableauserver.website.com/#/site/MainSite/views/SuperstoreAnalysis/SuperstoreAnalysis?Category=Furniture&Region=East

For more information about other parameters you might use to create custom embedded views, check out this Tableau article: https://help.tableau.com/current/pro/desktop/en-us/embed_list.htm

Avatar

Anna Prosvetova

Five time-saving Alteryx tips, part 5: Making use of field metadata with the Field Info tool

3 mins read

Wed 29 Jan 2020

Five time-saving Alteryx tips, part 4: Filling the date gaps with the TS Filler tool

2 mins read

Tue 28 Jan 2020

Five time-saving Alteryx tips, part 3: Reading data from .csv files

2 mins read

Mon 27 Jan 2020

Five time-saving Alteryx tips, part 2: Sort your data in fewer clicks

2 mins read

Sun 26 Jan 2020