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:
- 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.
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?
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.
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!
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
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!