Every document has a target that tells UA which app, entity type, or Inventory Explorer instance it applies to. When UA needs to render a given entity type (or Inventory Explorer type), it looks up documents whose target matches, and fetches only those.
This page covers the Target union and its four shapes: EntityDetailsDefinitionTarget, EntityDetailsInjectionTarget, InvExDefinitionTarget, and InvExInjectionTarget.
All target shapes extend a common base:
| Property | Type | Required | Description |
|---|---|---|---|
|
| yes | Dynatrace App ID this document applies to (for example, |
|
| no | Inventory Explorer ID. Only needed when an app renders more than one Inventory Explorer instance. |
Using the '*' wildcard — a wildcard app: '*' registers a document for every app instead of a single one. It is intended mainly for Entity Details documents. Avoid it for InvExTypeDefinition documents: a wildcard InvEx type would appear in every app's Inventory Explorer, so as more apps adopt UA your extension's content could surface in apps where it doesn't belong. Prefer targeting a specific app. Today the only app that serves UA documents is the Infrastructure & Operations app (dynatrace.infraops).
EntityDetailsDefinitionTarget| Property | Type | Description |
|---|---|---|
|
| Smartscape node type this document defines the layout for (for example, |
target: {app: 'dynatrace.infraops',nodeType: 'dt.entity.host',}
EntityDetailsInjectionTarget| Property | Type | Description |
|---|---|---|
|
| Smartscape node type to inject into. |
|
| Inject into a specific existing tab. Omit this when the injected |
target: {app: 'dynatrace.infraops',nodeType: 'dt.entity.host',tabId: 'overview',}
InvExDefinitionTarget| Property | Type | Description |
|---|---|---|
|
| Parent Inventory Explorer type/subtype ID. Leave empty to define a new top-level type; set it to define a subtype nested under an existing type. |
target: {app: 'dynatrace.infraops',invExType: 'Compute',}
InvExInjectionTarget| Property | Type | Description |
|---|---|---|
|
| Inventory Explorer type/subtype to inject content into. |
target: {app: 'dynatrace.infraops',invExType: 'dt.entity.host',}
ExtensionsInfrastructure Observability