10 Jan 2025 06:24 PM
HI
Using the new Gen 3 dashboard framework, i have some java script code.
But can I pass to my code the Variables I've created and/or the timestamp in the dashboard time frame selector?
I'm guessing I can do this somehow if I use the full App Framework but that requires more development effort.
Thanks
Solved! Go to Solution.
11 Jan 2025 02:06 AM
Hi @Stephen1_Lee ,
Yes, you can use in the code tile in Gen 3 dashboards. You don't need to create an app for this.
As a reference, you can define a variable named username and use this in your JavaScript code tile.
For timeframe, I have never tried referencing the dashboard timeframe. When building apps, there are options like this:
Properties | Dynatrace Developer
$username