# System.util.retarget in perspective

**URL:** <https://forum.inductiveautomation.com/t/system-util-retarget-in-perspective/23523>\
**Category:** Ignition Early Access\
**Created:** [March 21, 2019, 10:06pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-in-perspective/23523 "2019-03-21T22:06:04Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankitkarwa21](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@ankitkarwa21](https://forum.inductiveautomation.com/u/ankitkarwa21)\
**Post date:** [March 21, 2019, 10:06pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-in-perspective/23523/1 "2019-03-21T22:06:04Z")

</div>

Is it possible to retarget or open a vision client/project from a perspective session?  
I tried system.util.retarget script but looks like it isn’t available in perspective.

---

<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 21, 2019, 10:18pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-in-perspective/23523/2 "2019-03-21T22:18:31Z")

</div>

No, the scope for system.util.retarget() is limited to the “Client”. Scripting methods without a scope of “Gateway” may not be used in Perspective.

As for launching a Vision Client from a Perspective Session in general, no you can’t.

---

<div class="post-metadata">

**Author:** ![ankitkarwa21](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@ankitkarwa21](https://forum.inductiveautomation.com/u/ankitkarwa21)\
**Post date:** [March 21, 2019, 10:27pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-in-perspective/23523/3 "2019-03-21T22:27:12Z")

</div>

Will this be possible in future? Launching a vision client from perspective session and vice versa?  
We would like to have a central location that can be used to navigate through all our Ignition projects

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 21, 2019, 10:35pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-in-perspective/23523/4 "2019-03-21T22:35:50Z")

</div>

> [@ankitkarwa21](#):
>
> Will this be possible in future? Launching a vision client from perspective session and vice versa?

No, it won't be possible, because they are fundamentally different things. Vision runs on your computer directly, in its own Java runtime. Perspective runs inside a browser session. It's not possible to put Java inside the browser (the old way of doing this was applets, which are a security _nightmare_, which is why they were deprecated by all browser vendors, and eventually Oracle/Java directly). You could theoretically put a Perspective project inside of a Vision window using the Web Browser component, but...why? There's no urgency to switch to Perspective - keep using Vision as long as you want to, and introduce Perspective whenever you feel you're at the point it's worth it.

Some more background on the different technologies: [https://inductiveautomation.com/blog/vision-perspective-which-module-is-best-for-your-next-project](https://inductiveautomation.com/blog/vision-perspective-which-module-is-best-for-your-next-project)

---

<div class="post-metadata">

**Author:** ![ankitkarwa21](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@ankitkarwa21](https://forum.inductiveautomation.com/u/ankitkarwa21)\
**Post date:** [March 21, 2019, 10:44pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-in-perspective/23523/5 "2019-03-21T22:44:26Z")

</div>

There certainly is no urgency to switch to Perspective.  
I making a corporate dashboard where Ignition projects are logically organized and also provides a way to navigate across projects without have to launch each project individually by finding its launch link.  
Moving forward we expect to do atleast some of our projects in Perspective because of its advantages over Vision for certain use cases.  
To account for that I was hoping to make Perspective project (Since it is much more mobile capable) that acts as a central dashboard that can launch all our projects regardless of which module was used to build it.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 21, 2019, 10:51pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-in-perspective/23523/6 "2019-03-21T22:51:56Z")

</div>

One big problem is that the prior-to-8 way of launching Vision projects was often through JNLP links that were placed on the gateway homepage. JNLP is no longer supported in Java 9+, and since the gateway, designer, and Vision clients all run on Java 11, it simply won’t work in Ignition 8: [https://www.oracle.com/technetwork/java/javase/9-deprecated-features-3745636.html](https://www.oracle.com/technetwork/java/javase/9-deprecated-features-3745636.html)

---

<div class="post-metadata">

**Author:** ![ankitkarwa21](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@ankitkarwa21](https://forum.inductiveautomation.com/u/ankitkarwa21)\
**Post date:** [March 21, 2019, 10:54pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-in-perspective/23523/7 "2019-03-21T22:54:48Z")

</div>

Right, I thought about putting links on the central dashboard, which though isnt the ideal solution, but gives us something to work with.  
But like you mentioned, this wont work either after v8.  
Any other way you think this can be done?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 21, 2019, 11:01pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-in-perspective/23523/8 "2019-03-21T23:01:59Z")

</div>

We have an internal ticket to look at some way to deliver JSON (ie, a Vision Client Launcher config) to a running application quickly, like through a deep link or protocol handler or something, but no idea when that might happen or whether it even will still happen. Unless something like that gets implemented, there’s really no good way to web-link directly to Vision clients, unfortunately.

---

<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:** [February 25, 2021, 10:53am UTC](https://forum.inductiveautomation.com/t/system-util-retarget-in-perspective/23523/9 "2021-02-25T10:53:27Z")

</div>

There are any possibility to send a client from one perspective project to another? In mobile

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [February 25, 2021, 2:15pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-in-perspective/23523/10 "2021-02-25T14:15:48Z")

</div>

You would have to re-login, but couldn’t you redirect to the other projects URL?

---

<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:** [February 25, 2021, 3:40pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-in-perspective/23523/11 "2021-02-25T15:40:21Z")

</div>

You would need to perform a URL navigation:

```auto
gateway_address = self.session.props.gateway.address
perspective_path = '/data/perspective/client'
page_url_from_other_project = '/MyOtherProject/somepath/destination'
destination = gateway_address + perspective_path + page_url_from_other_project
system.perspective.navigate(url=destination)

```

---

<div class="post-metadata">

**Author:** ![user66](https://avatars.discourse-cdn.com/v4/letter/u/b487fb/32.png) [@user66](https://forum.inductiveautomation.com/u/user66)\
**Post date:** [December 31, 2021, 6:00am UTC](https://forum.inductiveautomation.com/t/system-util-retarget-in-perspective/23523/12 "2021-12-31T06:00:08Z")

</div>

using this can we send params to a different project?

---

<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:** [January 3, 2022, 4:14pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-in-perspective/23523/13 "2022-01-03T16:14:14Z")

</div>

Of course - as long as the url is structued in such a way as your other project would expect the params.

Inline url:  
example: `/myPage/:paramOne/:paramTwo`  
usage: `http(s)//<gateway_address>:<port>/data/perspective/client/<project_name>/myPage/1/2`

Page Param Object:  
example: `/myOtherPage`  
usage: `http(s)//<gateway_address>:<port>/data/perspective/client/<project_name>/myPage?paramOne=1&paramTwo=2`
