-
1. Re: Opening dashboard links in same browser window
Zach Leber Aug 21, 2017 9:01 AM (in response to niall.ridge)Yes, that works Niall, just tested on Server 10.3. You only need the :linktarget=_parent addition to the URL, e.g.
https://tableau-beta.broadinstitute.org/#/views/Book1/Dashboard1?:linktarget=_parent
The reason it works is two-fold:
- You figured out to use _parent instead of _self
- 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 Dec 11, 2017 7:51 AM (in response to Zach Leber)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 Dec 11, 2017 8:00 AM (in response to Ross Moffitt)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 Feb 8, 2018 1:54 AM (in response to Zach Leber)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!
Regards,
Nikos
-
5. Re: Opening dashboard links in same browser window
Zach Leber Feb 8, 2018 7:46 AM (in response to Nikos Fournarakis)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.
-
URL book.twbx 421.8 KB
-
-
6. Re: Opening dashboard links in same browser window
Nikos Fournarakis Feb 9, 2018 7:58 AM (in response to niall.ridge)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,
Nikos