Try it free

Message

  • Latest Dynatrace
  • Reference
  • 2-min read
  • Published Jul 13, 2026

A card built from a small, markdown-like content schema: either a simple colored banner (MessageSchema) or a richer card with icon, title, text, and buttons (CardMessage).

Fields

In addition to the shared CoreElement fields (see Elements overview):

PropertyTypeDescription

type

'message'

Discriminant.

content

CardMessage | MessageSchema

The message body. See the two variants below.

headingAs

'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' (optional, default h1)

HTML heading level for the card title rendered by CardMessage.

MessageSchema

A simple colored banner.

Message element rendered as a colored status banner spanning the full card width
Message element rendered as a colored status banner spanning the full card width

Fields

PropertyTypeDescription

type

'MESSAGE'

Discriminant.

color

'INFO' | 'WARNING' | 'CRITICAL'

Banner severity/color.

text

string

Banner text.

Example

{
"type": "MESSAGE",
"color": "WARNING",
"text": "This feature is in preview."
}

CardMessage

A richer card layout.

Message element rendered as a rich card with an icon, title, body text, and an action button
Message element rendered as a rich card with an icon, title, body text, and an action button

Fields

PropertyTypeDescription

type

'CARD'

Discriminant.

title

string

Card title.

text

string

Card body text.

icon

string (optional)

Icon name.

actions

CardActions

Action buttons rendered on the card.

Example

{
"type": "CARD",
"title": "Need help?",
"text": "Check the documentation for setup instructions.",
"actions": [
{
"displayName": "Open docs",
"appId": "docs.app",
"intentId": "open"
}
]
}

See also

  • Elements overview
Related tags
ExtensionsExtensionsInfrastructure Observability