<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Call an APP in dynatrace passing GET parameter in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Call-an-APP-in-dynatrace-passing-GET-parameter/m-p/223464#M504</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In particular, we would like to land on the APP:&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN&gt;dynatrace.classic.query.user.sessions&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;and change the get parameter:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;gtf&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;query&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;in such a way the user see immediately the result of the query.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;On the documentation we have found this approach:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://developer.dynatrace.com/reference/design-system/preview/navigation/AppLink/" target="_blank" rel="noopener"&gt;https://developer.dynatrace.com/reference/design-system/preview/navigation/AppLink/&lt;/A&gt;&lt;BR /&gt;The implemented code is this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;&amp;lt;AppLink appId="dynatrace.classic.query.user.sessions"&amp;gt;
    Link to user session
 &amp;lt;/AppLink&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But it seems does not allow us to pass the parameter and the app is loaded with the default ones...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any way to achieve what we are looking to do?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Sep 2023 10:32:14 GMT</pubDate>
    <dc:creator>andreaCaria</dc:creator>
    <dc:date>2023-09-20T10:32:14Z</dc:date>
    <item>
      <title>Call an APP in dynatrace passing GET parameter</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Call-an-APP-in-dynatrace-passing-GET-parameter/m-p/223464#M504</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In particular, we would like to land on the APP:&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN&gt;dynatrace.classic.query.user.sessions&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;and change the get parameter:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;gtf&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;query&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;in such a way the user see immediately the result of the query.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;On the documentation we have found this approach:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://developer.dynatrace.com/reference/design-system/preview/navigation/AppLink/" target="_blank" rel="noopener"&gt;https://developer.dynatrace.com/reference/design-system/preview/navigation/AppLink/&lt;/A&gt;&lt;BR /&gt;The implemented code is this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;&amp;lt;AppLink appId="dynatrace.classic.query.user.sessions"&amp;gt;
    Link to user session
 &amp;lt;/AppLink&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But it seems does not allow us to pass the parameter and the app is loaded with the default ones...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any way to achieve what we are looking to do?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 10:32:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Call-an-APP-in-dynatrace-passing-GET-parameter/m-p/223464#M504</guid>
      <dc:creator>andreaCaria</dc:creator>
      <dc:date>2023-09-20T10:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Call an APP in dynatrace passing GET parameter</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Call-an-APP-in-dynatrace-passing-GET-parameter/m-p/223466#M505</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/63636"&gt;@andreaCaria&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;the &lt;CODE&gt;AppLink&lt;/CODE&gt; component does not work for this case since the app&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN&gt;dynatrace.classic.query.user.sessions&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt; does not support any intents.&lt;/P&gt;
&lt;P&gt;For this particular page, you can use the &lt;CODE&gt;ExternalLink&lt;/CODE&gt;&amp;nbsp;like following:&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; { &lt;/SPAN&gt;&lt;SPAN&gt;getEnvironmentUrl&lt;/SPAN&gt;&lt;SPAN&gt; } &lt;/SPAN&gt;&lt;SPAN&gt;from&lt;/SPAN&gt; &lt;SPAN&gt;'@dynatrace-sdk/app-environment'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;BR /&gt;...&lt;BR /&gt;&amp;lt;&lt;SPAN&gt;ExternalLink&lt;/SPAN&gt; &lt;SPAN&gt;href&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;`&lt;/SPAN&gt;&lt;SPAN&gt;${&lt;/SPAN&gt;&lt;SPAN&gt;getEnvironmentUrl&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;/ui/apps/dynatrace.classic.query.user.sessions/ui/user-sessions/query?gtf=-2h&amp;amp;gf=all&amp;amp;sessionquery=SELECT+*+FROM+usersession`&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;A link to User Sessions&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;ExternalLink&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Please let me know if this works for you!&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Sep 2023 10:58:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Call-an-APP-in-dynatrace-passing-GET-parameter/m-p/223466#M505</guid>
      <dc:creator>stefan_eggersto</dc:creator>
      <dc:date>2023-09-20T10:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Call an APP in dynatrace passing GET parameter</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Call-an-APP-in-dynatrace-passing-GET-parameter/m-p/223467#M506</link>
      <description>&lt;P&gt;It worked perfectly,&lt;BR /&gt;thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 11:01:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Call-an-APP-in-dynatrace-passing-GET-parameter/m-p/223467#M506</guid>
      <dc:creator>andreaCaria</dc:creator>
      <dc:date>2023-09-20T11:01:47Z</dc:date>
    </item>
  </channel>
</rss>

