10 Replies Latest reply on Sep 6, 2018 7:43 AM by Zach Leber

    Opening dashboard links in same browser window


      Hi all,


      I recently came across a challenge that seems to be shared by many others in Tableau and wanted to share the solution that worked for me - getting a dashboard to open links in the same window. The key difference from previous answers I've seen is that you start by navigating directly to the source dashboard, with a slightly modified URL. Subsequent links will open in the same window if they contain the same 'linktarget'. Would love to hear if it works for others!


      1. Create the workbook that you want to link to (i.e. your target dashboard) and publish the target workbook to Tableau server

      2. On Tableau server, open the target workbook and get it's direct URL by going to Share>Link

      3. We want to link to this from our source workbook, but first need to modify it to open in a specific tab. To do this, we add :linktarget=_parent

      e.g. http://tableau.myserver.com/views/Test/TargetDashboard?:showAppBanner=false&:showShareOptions=true&:showVizHome=no




      4. Create the dashboard you want to link from (i.e. your source dashboard) and use Dashboard>Actions to add a new dashboard action, using the URL you modified in the previous step:

      5. Finally, the steps that seemed to be missing from previous examples - publish the source dashboard to Tableau server and use the method in step 2 to get the direct URL link. Again, modify this to add :linktarget=_parent




      6. Open the URL from step #6 directly in your browser and click on your linked object. It should open in the same window.


      EDIT: Simplified slightly on feedback from Zach Leber (no need to specify embed=y)

        • 1. Re: Opening dashboard links in same browser window
          Zach Leber

          Yes, that works Niall, just tested on Server 10.3. You only need the :linktarget=_parent addition to the URL, e.g.



          The reason it works is two-fold:

          1. You figured out to use _parent instead of _self
          2. Most people incorrectly assume the linktarget option gets added to the URL for the link you want to open, when it fact it must be set ahead of time on the source page to tell it how to open up any subsequent links


          Thanks for posting the solution.

          • 2. Re: Opening dashboard links in same browser window
            Ross Moffitt

            Thanks this was helpful, but if the end user is to not see any new windows open, the end user will have to either A) Use a direct link all the time or B) have atleast one window open so the source and target both have parent in their URL. Correct?  Or is there a way to edit the source URL so it contains parent?

            • 3. Re: Opening dashboard links in same browser window
              Zach Leber

              Option A will work. I don't think Option B will work. Option C is adding a web frame on the Tableau Dashboard so  URL actions will open in that frame rather than a new window.

              • 4. Re: Opening dashboard links in same browser window
                Nikos Fournarakis

                Hi Zach Leber ,


                is there any way to add this extra component in the default URL (the one after the workbook is initially published)?


                Since the dashboards I create aim to be used by a broader user community on Tableau Server, I cannot ask the users to add parameters in the URL. It would be great if I could add it and customize the URL of the first workbook and establish a solution, instead of having to manually edit the URL every time I want to use the workbook.


                Any suggestions on this?


                Thanks in advance!





                1 of 1 people found this helpful
                • 5. Re: Opening dashboard links in same browser window
                  Zach Leber

                  Hi Nikos, I've attached a 10.3 TWBX that might give you some ideas. Sheet 1 is the start page and uses a URL action with a relative path to get to Sheet 2 and add the linktarget parameter. Then when a user clicks on Sheet 2 the new web page opens in the same tab. Try publishing this workbook to your own server. Regards, Zach.

                  action 1.pngaction 2.png

                  1 of 1 people found this helpful
                  • 6. Re: Opening dashboard links in same browser window
                    Nikos Fournarakis

                    Thank you Zach!


                    This is actually an excellent idea.


                    The only limitation I can see is that the workbook link on the server needs to remain the same. If something changes in the workbook link (e.g. change the title), then all the actions will have to be adjusted from the beginning.


                    Nevertheless, it is an excellent workaround and thank you very much for your reply!


                    Best regards,



                    • 7. Re: Opening dashboard links in same browser window
                      Akanksha Kamra

                      Hi Zach,


                      Thanks for the solution.

                      If we have just one URL then adding the linktarget parameter works and it jumps to the new tab. However this doesn't seem to work for multiple URLS. For example; If  I add the same parameter to other URLS, the new tab gets refreshed but it doesn't get active or focused.. Do you know any workaround this?


                      Any help would be appreciated!




                      • 8. Re: Opening dashboard links in same browser window
                        Zach Leber

                        Hi AK, I don't understand your question or what you have working already. The intent of setting linktarget is to prevent new tabs from opening up in your browser when you click a link. But you are describing new tabs that you want to switch focus to. Some pictures or an example workbook might help. Regards, Zach

                        • 9. Re: Opening dashboard links in same browser window
                          Akanksha Kamra

                          Hi Zack, thanks for the response.


                          I have three buttons in my dashboard. Each button has URLs to the respective views in the same workbook. Now when I publish my workbook to the server. While clicking on the button for the first time though it takes me to the second tab  (expected behavior), however after the first click when I click on the others buttons the second tab gets refreshed but it doesn't jump to that tab (This is what I want). So basically I want only the second page (don't want separate tabs for all the buttons) to be refreshed and focused every time I click on  a new button.

                          I am not sure if I did a job at explaining the problem, sorry I can't share my dashboard. Let me try creating a sample workbook for you. Thanks!


                          Best Regards,


                          • 10. Re: Opening dashboard links in same browser window
                            Zach Leber

                            A sample workbook would help. Another option is that if your URLs link to views in the same workbook, you could publish the workbook with tabs instead of relying on your web browser's tabs.  I presume your URL actions are triggered off a dashboard image acting as a button, but you can make dummy views that work as buttons and apply Filter actions instead which will jump to the tab being filtered. Then no need for linktarget. You might not even need dashboard navigation buttons as the Tableau tabs are easy to use. I attached an example. The button view on the dash isn't nice but you can make it nicer.