Thanks for sharing the reference post. However the above approach will not apply in my case.
In my source dashboard, Navigation to multiple dashboards are maintained from a Excel source, wherein we have embedded :linktarget = _blank at the end of URL inside source DS itself as given below.
Dashboard1 : _Self
Dashboard6: _Blank or _NEW
We wanted dashboard1 to 5 to open in same tab(override) but Dashboard 6 alone to open in new tab. Also, please note that all 6 URL's are provided in all dashboards. So lets say, when user navigates from Dashboard3 to Dashboard6, since dashboard3 URL is embedded with _Self, it opens dashboard6 also in same tab irrespective of _NEW added in dashboard 6 URL.
We cannot request users to add _blank to the URL when they wanted to navigate from other dashboards to Dashboards6. I'm not aware of how to resolve this with Java Script. Any help would be appreciated.
What happens if you remove the :link target competely in the URL?
When i remove :link target from my URL, all my target dashboards are opening in new Tab.