# Call an APP in dynatrace passing GET parameter

**URL:** <https://community.dynatrace.com/t/call-an-app-in-dynatrace-passing-get-parameter/41701>\
**Category:** Developer Q&A Forum\
**Tags:** custom-app\
**Created:** [September 20, 2023, 10:32am UTC](https://community.dynatrace.com/t/call-an-app-in-dynatrace-passing-get-parameter/41701 "2023-09-20T10:32:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreaCaria](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@andreaCaria](https://community.dynatrace.com/u/andreaCaria)\
**Post date:** [September 20, 2023, 10:32am UTC](https://community.dynatrace.com/t/call-an-app-in-dynatrace-passing-get-parameter/41701/1 "2023-09-20T10:32:14Z")

</div>

Hi,

in our custom app, we would like to reindex the user into a classic dynatrace app in the same tenant by passing some parameters in the URL.

In particular, we would like to land on the APP:&nbsp;_ **dynatrace.classic.query.user.sessions** _&nbsp;and change the get parameter:

**gtf** &nbsp;and&nbsp; **query** &nbsp;in such a way the user see immediately the result of the query.

On the documentation we have found this approach:

> **[AppLink | Dynatrace Developer](https://developer.dynatrace.com/design/components/navigation/AppLink/)**
>
> Import

The implemented code is this:

```javascript
<AppLink appId="dynatrace.classic.query.user.sessions">
    Link to user session
 </AppLink>

```

But it seems does not allow us to pass the parameter and the app is loaded with the default ones…

Is there any way to achieve what we are looking to do?

---

<div class="post-metadata">

**Author:** ![stefan\_eggersto](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/stefan_eggersto/32/34114_2.png) [@stefan\_eggersto](https://community.dynatrace.com/u/stefan_eggersto)\
**Post date:** [September 20, 2023, 10:58am UTC](https://community.dynatrace.com/t/call-an-app-in-dynatrace-passing-get-parameter/41701/2 "2023-09-20T10:58:14Z")

</div>

Hi [@andreaCaria](https://community.dynatrace.com/user/63636),

the `AppLink` component does not work for this case since the app _ **dynatrace.classic.query.user.sessions** _ does not support any intents.

For this particular page, you can use the `ExternalLink` like following:

```auto
import { getEnvironmentUrl } from '@dynatrace-sdk/app-environment';
...
<ExternalLink href={`${getEnvironmentUrl()}/ui/apps/dynatrace.classic.query.user.sessions/ui/user-sessions/query?gtf=-2h&gf=all&sessionquery=SELECT+*+FROM+usersession`}>A link to User Sessions</ExternalLink>

```

Please let me know if this works for you!

---

<div class="post-metadata">

**Author:** ![andreaCaria](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@andreaCaria](https://community.dynatrace.com/u/andreaCaria)\
**Post date:** [September 20, 2023, 11:01am UTC](https://community.dynatrace.com/t/call-an-app-in-dynatrace-passing-get-parameter/41701/3 "2023-09-20T11:01:47Z")

</div>

It worked perfectly,  
thank you 🙂
