Last Modified Date: 30 Nov 2017
EnvironmentUp to Tableau Server 10
Option 1: Before Publishing
- In Tableau Desktop, edit the URL Action and add ?:linktarget=_self&:embed=yes to the end of the URL. For example: https://server.example.com/t/SiteName/views/WorkbookName/DashboardName?:embed=yes&:linktarget=_self
- If your URL is passing a value to filter the target sheet, append the filter using an &. For example: https://server.example.com/t/SiteName/views/WorkbookName/DashboardName?:embed=yes&:linktarget=_self&Category=<Category>
Option 2: After PublishingAfter publishing, in your browser's address bar, add ?:linktarget=_self to the end of the view's URL. For more information about this option, see Set Server Views to Open Links in the Same Window. Alternatively, if the view will be embedded in an IFrame, add ?:linktarget=_self to the end of the view's URL in the embed code.
CauseBy default, URL Actions open a new browser tab or window.
Additional InformationThe ?:linktarget parameter in a Tableau URL does not apply directly to the view being loaded (as does ?:embed=y, ?:Category=Technology, etc). Instead, the ?:linktarget= parameter controls the behavior of all links within the view that the parameter was added to. Therefore, in order to cause the URLs within the view to open within the same window, ?:linktarget=_self must be appended to the URL of the initial view.
Adding :linktarget=_self&:embed=yes to the URL Action means that when the target dashboard is loaded, subsequent actions will be loaded in the same frame and Tableau Server won't load the header and toolbar a second time. If :embed=yes is not added to the URL Action, users will see the Tableau Server header and toolbar twice.
Thank you for providing your feedback on the effectiveness of the article.
Open new Case
Training and Tutorials