# \[Feature\] Open in new tab (browser native)

**URL:** <https://forum.inductiveautomation.com/t/feature-open-in-new-tab-browser-native/23169>\
**Category:** Ignition Early Access\
**Created:** [March 8, 2019, 5:20pm UTC](https://forum.inductiveautomation.com/t/feature-open-in-new-tab-browser-native/23169 "2019-03-08T17:20:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![code\_skin](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@code\_skin](https://forum.inductiveautomation.com/u/code_skin)\
**Post date:** [March 8, 2019, 5:20pm UTC](https://forum.inductiveautomation.com/t/feature-open-in-new-tab-browser-native/23169/1 "2019-03-08T17:20:02Z")

</div>

Regarding the Menu Tree component; it would be handy if perspective could offer the browsers context menu giving the option to “open in new tab”. Is this possible?

Regarding other components using only Navigation actions; is it possible for perspective to determine if a component has Navigation actions and therefore offers the browsers context menu?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [March 8, 2019, 5:36pm UTC](https://forum.inductiveautomation.com/t/feature-open-in-new-tab-browser-native/23169/2 "2019-03-08T17:36:15Z")

</div>

I’m not the definitive authority, but I believe only the Link Component will ever allow for the browser’s context menu with regard to opening destinations in new tabs/windows.

Exposing whether or not a component has a Navigate Action isn’t quite as simple as you’d probably think because you’re missing instances where a component might be using a system.perspective.navigate() scripting method in place of the Navigate Action. We can’t very well parse a script and determine if there’s a navigate call, so the other option would be to place a property on each component along the lines of “hasNavAction”, which is definitely something that shouldn’t be done.

That being said, we could conceivably place a property in the Menu Tree component for each item which determines whether the destination will be opened in the current tab or a new tab/window, but… I don’t see it being used very often; someone brought this up in another thread, and my reply was basically this: if you always want to open a Menu Tree option in another tab, then you’re not using the Menu Tree in a “correct” or traditional way - you should find some other way to provide that navigation.

---

<div class="post-metadata">

**Author:** ![code\_skin](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@code\_skin](https://forum.inductiveautomation.com/u/code_skin)\
**Post date:** [March 8, 2019, 5:39pm UTC](https://forum.inductiveautomation.com/t/feature-open-in-new-tab-browser-native/23169/3 "2019-03-08T17:39:32Z")

</div>

I did read that post and it made sense to me.  
I have a client that would like to be able to navigate in the same tab but wants the option to open in new tab as they please. Not a deal breaker by any means just wishful thinking.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [March 8, 2019, 5:41pm UTC](https://forum.inductiveautomation.com/t/feature-open-in-new-tab-browser-native/23169/4 "2019-03-08T17:41:32Z")

</div>

Yah, the Menu Tree won’t allow for that anytime in the near future. Link Components DO allow for that functionality, even for project pages (not just external URLs).

---

<div class="post-metadata">

**Author:** ![OscarLucas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/oscarlucas/32/6417_2.png) [@OscarLucas](https://forum.inductiveautomation.com/u/OscarLucas)\
**Post date:** [April 9, 2019, 8:34am UTC](https://forum.inductiveautomation.com/t/feature-open-in-new-tab-browser-native/23169/5 "2019-04-09T08:34:37Z")

</div>

I have the problem that when I click on the launch session on the menu tree. The explorer opens a new tab. I don’t want to do that. How can disable?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [April 9, 2019, 2:14pm UTC](https://forum.inductiveautomation.com/t/feature-open-in-new-tab-browser-native/23169/6 "2019-04-09T14:14:36Z")

</div>

I’m a little confused by your question. It sounds like when you are Launching a new Session from the Designer a new tab is opened for you, which is exactly what is supposed to happen. If you don’t want a new tab opened, then you must already have a tab open somewhere, at which point I don’t understand why you’re launching a new Session.

If you _don’t_ have an active Session, and you _don’t_ want a new tab, then I can only assume you’re trying to use the Designer itself as a Session, and you should NEVER do that.

---

<div class="post-metadata">

**Author:** ![OscarLucas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/oscarlucas/32/6417_2.png) [@OscarLucas](https://forum.inductiveautomation.com/u/OscarLucas)\
**Post date:** [April 9, 2019, 2:48pm UTC](https://forum.inductiveautomation.com/t/feature-open-in-new-tab-browser-native/23169/7 "2019-04-09T14:48:03Z")

</div>

"I’m a little confused by your question. It sounds like when you are Launching a new Session from the Designer a new tab is opened for you, which is exactly what is supposed to happen. "  
I am agree.  
In this sesion. When i make click on the menu tree(For example Dassboard button), then, The explorer opens a new tab. So i have 2 tabs instead to have only one(main page and dassboard). And if i make click on other button of the menu tree opens another tab.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [April 9, 2019, 2:57pm UTC](https://forum.inductiveautomation.com/t/feature-open-in-new-tab-browser-native/23169/8 "2019-04-09T14:57:21Z")

</div>

I’m guessing you supplied the Page paths without a leading slash.  
With a given Page Configuration of `/some_path/myPage`, if you supply a `target` of “some\_path/myPage”, then the Page will open in a new tab. If you supply “/some\_path/myPage”, then the Page will open in the current tab. Please read more about this in the [documentation](https://docs.inductiveautomation.com/display/DOC80/Perspective+-+Menu+Tree#expander-content-1303705834). You’ll want to expand the “Click to see the items properties” portion.
