<?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 Re: Dashboard using Javascript in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Dashboard-using-Javascript/m-p/267154#M4706</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/24856"&gt;@Stephen1_Lee&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Yes, you can use in the code tile in Gen 3 dashboards. You don't need to create an app for this.&lt;BR /&gt;As a reference, you can define a variable named username and use this in your JavaScript code tile.&lt;BR /&gt;For timeframe, I have never tried referencing the dashboard timeframe. When building apps, there are options like this:&lt;BR /&gt;&lt;A href="https://developer.dynatrace.com/design/components-preview/forms/TimeframeSelector/props/" target="_blank"&gt;Properties | Dynatrace Developer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$username&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 11 Jan 2025 02:06:26 GMT</pubDate>
    <dc:creator>RohitBisht</dc:creator>
    <dc:date>2025-01-11T02:06:26Z</dc:date>
    <item>
      <title>Dashboard using Javascript</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Dashboard-using-Javascript/m-p/267129#M4705</link>
      <description>&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;Using the new Gen 3 dashboard framework, i have some java script code.&lt;/P&gt;&lt;P&gt;But can I pass to my code the Variables I've created and/or the timestamp in the dashboard time frame selector?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm guessing I can do this somehow if I use the full App Framework but that requires more development effort.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 18:24:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Dashboard-using-Javascript/m-p/267129#M4705</guid>
      <dc:creator>Stephen1_Lee</dc:creator>
      <dc:date>2025-01-10T18:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard using Javascript</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Dashboard-using-Javascript/m-p/267154#M4706</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/24856"&gt;@Stephen1_Lee&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Yes, you can use in the code tile in Gen 3 dashboards. You don't need to create an app for this.&lt;BR /&gt;As a reference, you can define a variable named username and use this in your JavaScript code tile.&lt;BR /&gt;For timeframe, I have never tried referencing the dashboard timeframe. When building apps, there are options like this:&lt;BR /&gt;&lt;A href="https://developer.dynatrace.com/design/components-preview/forms/TimeframeSelector/props/" target="_blank"&gt;Properties | Dynatrace Developer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$username&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jan 2025 02:06:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Dashboard-using-Javascript/m-p/267154#M4706</guid>
      <dc:creator>RohitBisht</dc:creator>
      <dc:date>2025-01-11T02:06:26Z</dc:date>
    </item>
  </channel>
</rss>

