KNOWLEDGE BASE

How To Preserve the URL Parameters When Opening a View in Tableau Server or Tableau Cloud


Pubblicato: 19 May 2023
Data dell'ultima modifica: 31 May 2023

Domanda

How can we ensure that the URL parameters are preserved when opening a view in Tableau Server or Tableau Cloud, similar to how we can specify them in an embedded view on a Web Site?

Ambiente

  • Tableau Server
  • Tableau Cloud

Risposta

Create a Dashboard and embed the target view into Web Page Object in the steps below.
  1. Create a Dashboard and select the Web Page in Objects section.
  2. Specify the URL of the target view and add any desired URL parameters at the end. For example, if you want to always open links from URL actions and web URLs in separate browser tabs or windows, you can use a URL similar to this: 'https://<servername>/#/views/<target_workbook>/<target_view>?:embed=yes&:linktarget=_blank'.
  3. Publish the Dashboard to Tableau Server or Tableau Cloud.
Now, whenever you open the published dashboard, the URL parameters will always be set in the target view.
Con questo articolo hai risolto il problema?