26 Jun 2025
08:21 AM
- last edited on
27 Jun 2025
06:54 AM
by
MaciejNeumann
Hi,
I'm trying to call the URL to the app 'Infrastructure & Operations' inside a dashboard tile, but I can't get it work. Does anyone know how to do this?
rgds, Chiel
26 Jun 2025 08:28 AM
Hello
Are you using the Dashboard classic or the new app ?
What happens when you click on the URL
Tks John
26 Jun 2025 08:36 AM
Using the new app works fine. But I'd like to show/use the output from this app within a custom dashboard.
I've tried calling this code:
export default async function () {
const response = await fetch('https://{environmentid}.apps.dynatrace.com/ui/apps/dynatrace.infraops/hosts');
const result = await response.json();
return result;
}
But hen I get a 401