22 Jul 2025
11:58 AM
- last edited on
22 Jul 2025
12:58 PM
by
AgataWlodarczyk
Hi everyone,
I have a variable that holds the tenant ID $TenantID
Is there a way to link to a different section in Dynatrace such as https://{environmentid}.apps.dynatrace.com/ui/apps/dynatrace.infraops/explorer?perspective=Default using a markup tile?
I can do it using code, then visualize it as a table and column = markdown, but it doesn't look good.
What am I missing?
export default async function () {
const tenant =$TenantID;
const url = `https://{environmentid}.apps.dynatrace.com/ui/apps/dynatrace.infraops/explorer?perspective=Default`;
return "# [Infrastructure Overview](https://{environmentid}.apps.dynatrace.com/ui/apps/dynatrace.infraops/explorer?perspective=Default)";
}
28 Nov 2025 07:19 AM
Hello, @csb!
Are these documentation pages helping to address your questions?
Add a variable to a dashboard and Add Markdown to dashboard
Please let us know, thank you in advance!
28 Nov 2025 02:43 PM
Hi,
The simplest solution: you actually don’t need $TenantID at all
Dynatrace markup tiles support relative URLs, and the current environment ID is automatically inserted by the browser.
So you can link to InfraOps like this:
# [Infrastructure Overview](/ui/apps/dynatrace.infraops/explorer?perspective=Default)
This will work in any environment because the browser resolves it to:
https://{environmentid}.apps.dynatrace.com/ui/apps/dynatrace.infraops/explorer?perspective=DefaultDynatrace dashboards do not currently support injecting variables like $TenantID into markup, so relative paths are the cleanest and best approach.