# How to deep link in ngclient ? .

**URL:** <https://forum.servoy.com/t/how-to-deep-link-in-ngclient/18667>\
**Category:** Classic Servoy\
**Created:** [December 16, 2015, 8:06am UTC](https://forum.servoy.com/t/how-to-deep-link-in-ngclient/18667 "2015-12-16T08:06:46Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashutoslenka426](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@ashutoslenka426](https://forum.servoy.com/u/ashutoslenka426)\
**Post date:** [December 16, 2015, 8:06am UTC](https://forum.servoy.com/t/how-to-deep-link-in-ngclient/18667/1 "2015-12-16T08:06:46Z")

</div>

hi All,

Is it possible to deep link in ngclient ? .How can we deep link in ngclient ?.

---

<div class="post-metadata">

**Author:** ![Ruben79](https://avatars.discourse-cdn.com/v4/letter/r/b782af/32.png) [@Ruben79](https://forum.servoy.com/u/Ruben79)\
**Post date:** [January 9, 2016, 11:01pm UTC](https://forum.servoy.com/t/how-to-deep-link-in-ngclient/18667/2 "2016-01-09T23:01:58Z")

</div>

+1

There seems to be no way of getting the query parameters from the url like it is in regular webclient. Or is there?

---

<div class="post-metadata">

**Author:** ![emera](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@emera](https://forum.servoy.com/u/emera)\
**Post date:** [January 11, 2016, 12:18pm UTC](https://forum.servoy.com/t/how-to-deep-link-in-ngclient/18667/3 "2016-01-11T12:18:57Z")

</div>

Hi,

Deep linking is possible in the NGClient, you just have to use query parameters instead of path, like:

localhost:8080/solutions/solutionName/index.html?m=methodname&a=1&b=2

---

<div class="post-metadata">

**Author:** ![Ruben79](https://avatars.discourse-cdn.com/v4/letter/r/b782af/32.png) [@Ruben79](https://forum.servoy.com/u/Ruben79)\
**Post date:** [January 11, 2016, 3:24pm UTC](https://forum.servoy.com/t/how-to-deep-link-in-ngclient/18667/4 "2016-01-11T15:24:33Z")

</div>

I would think so, but none of those get available as arguments in the onSolutionOpen unfortunately.

---

<div class="post-metadata">

**Author:** ![emera](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@emera](https://forum.servoy.com/u/emera)\
**Post date:** [January 12, 2016, 9:13am UTC](https://forum.servoy.com/t/how-to-deep-link-in-ngclient/18667/5 "2016-01-12T09:13:14Z")

</div>

> Ruben79:  
> I would think so, but none of those get available as arguments in the onSolutionOpen unfortunately.

We have indeed an issue if login is needed, only the value of first argument can be obtained in onSolutionOpen. I created a case for that [https://support.servoy.com/browse/SVY-9338](https://support.servoy.com/browse/SVY-9338)  
But the arguments are available in onSolutionOpen if login is not required.

---

<div class="post-metadata">

**Author:** ![Ruben79](https://avatars.discourse-cdn.com/v4/letter/r/b782af/32.png) [@Ruben79](https://forum.servoy.com/u/Ruben79)\
**Post date:** [January 12, 2016, 2:55pm UTC](https://forum.servoy.com/t/how-to-deep-link-in-ngclient/18667/6 "2016-01-12T14:55:03Z")

</div>

Yes, indeed I was using a login solution where it didn’t work, so thanks for creating the ticket ![:)]( "Smile")  
Also, do you have an advice how this can be debugged in developer? For example appending query parameters in the url so it always starts with a certain parameter? Like the firstForm currently does?

---

<div class="post-metadata">

**Author:** ![emera](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@emera](https://forum.servoy.com/u/emera)\
**Post date:** [January 12, 2016, 3:44pm UTC](https://forum.servoy.com/t/how-to-deep-link-in-ngclient/18667/7 "2016-01-12T15:44:12Z")

</div>

You just need to open an url of this form in a new tab localhost:8080/solutions/{solutionName}/index.html?m={methodname}&argument={firstArgValue}&param2={param2Value}  
For instance if you have an onSolutionOpen method in your global scope of yourSolution your url would be [http://localhost:8080/solutions/yourSol … ment=1&b=2](http://localhost:8080/solutions/yourSolution/index.html?m=onSolutionOpen&argument=1&b=2)  
I hope it helps.

---

<div class="post-metadata">

**Author:** ![alexander.sternadel](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@alexander.sternadel](https://forum.servoy.com/u/alexander.sternadel)\
**Post date:** [December 4, 2024, 9:40am UTC](https://forum.servoy.com/t/how-to-deep-link-in-ngclient/18667/8 "2024-12-04T09:40:39Z")

</div>

I can’t get this to work ![:oops:]( "Embarassed")

I have a solution wich loads the form home when started (firstForm), but I wan’t to access another form directly with a link.  
So i made a function in scopes:

```auto
function deeplink() {
	application.showForm("super_user")
}

```

but when I open the link

```auto
http://localhost:8183/solution/PQI/index.html?m=deeplink

```

it redirects me to the home form

Any ideas on what I am doing wrong?

Cheers,  
Alexander

---

<div class="post-metadata">

**Author:** ![emera](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@emera](https://forum.servoy.com/u/emera)\
**Post date:** [December 4, 2024, 10:23am UTC](https://forum.servoy.com/t/how-to-deep-link-in-ngclient/18667/9 "2024-12-04T10:23:32Z")

</div>

Hi,

Since 2024.3 you need the @deeplink annotation for the deeplink function.  
[https://docs.servoy.com/release-notes/r … 3#breaking](https://docs.servoy.com/release-notes/release-notes/2024.03#breaking)
