Intents โ Cross-App Navigation
Intents let your app navigate to other Dynatrace apps (Notebooks, Dashboards, Data Explorer) with context.
IntentButton
import { IntentButton } from "@dynatrace/strato-components/buttons";
<IntentButton
appId="dynatrace.notebooks"
intentId="view-query"
payload={{ "dt.query": `fetch dt.entity.host | limit 10` }}
>
Open in Notebooks
</IntentButton>
๐ก Common targets: dynatrace.notebooks, dynatrace.dashboards, dynatrace.data-explorer.
Programmatic Navigation
import { useNavigation } from "@dynatrace-sdk/navigation";
const { navigate } = useNavigation();
navigate("dynatrace.notebooks", {
intentId: "view-query",
payload: { "dt.query": myQuery }
});
Receiving Intents
Register intents in app.config.json so other apps can navigate to yours:
{
"app": {
"intents": [
{
"intentId": "show-host",
"description": "Show host details",
"payloadSchema": {
"type": "object",
"properties": {
"hostId": { "type": "string" }
}
}
}
]
}
}
๐ง Quick Check
What are Dynatrace intents used for?
What's Next
Module 10 โ AutomationEngine workflows: triggers, actions, and scheduled tasks.