Try it free

Message

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

type: 'message'

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

content

CardMessage | MessageSchema

The message body — see the two variants below.

cardTitle

never

Not used for message — set the title inside content (CardMessage.title) instead.

MessageSchema (type: 'MESSAGE')

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

A simple colored banner.

PropertyTypeDescription

color

'INFO' | 'WARNING' | 'CRITICAL'

Banner severity/color.

text

string

Banner text.

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

CardMessage (type: 'CARD')

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

A richer card layout.

PropertyTypeDescription

title

string

Card title.

text

string

Card body text.

icon

string (optional)

Icon name.

actions

CardActions

Action buttons rendered on the card.

{
"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