Schema Explorer

Action.ShowCard

Defines an AdaptiveCard which is shown to the user when the button or link is clicked.

Property Type Required Description Version
type string Yes Must be "Action.ShowCard". 1.0
title string No Label for button or link that represents this action. 1.0
iconUrl string No Optional icon to be shown on the action in conjunction with the title 1.1
card object Yes Root element in an Adaptive Card. 1.0

Example

{
	"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
	"type": "AdaptiveCard",
	"version": "1.0",
	"body": [
		{
			"type": "TextBlock",
			"text": "This card's action will show another card"
		}
	],
	"actions": [
		{
			"type": "Action.ShowCard",
			"title": "Action.ShowCard",
			"card": {
				"type": "AdaptiveCard",
				"body": [
					{
						"type": "TextBlock",
						"text": "What do you think?"
					}
				],
				"actions": [
					{
						"type": "Action.Submit",
						"title": "Neat!"
					}
				]
			}
		}
	]
}
{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", "body": [ { "type": "TextBlock", "text": "This card's action will show another card" } ], "actions": [ { "type": "Action.ShowCard", "title": "Action.ShowCard", "card": { "type": "AdaptiveCard", "body": [ { "type": "TextBlock", "text": "What do you think?" } ], "actions": [ { "type": "Action.Submit", "title": "Neat!" } ] } } ] }
Try it Yourself »

Properties

type

Must be "Action.ShowCard".

  • Type: string
  • Required: Yes

title

Label for button or link that represents this action.

  • Type: string
  • Required: No

iconUrl

Optional icon to be shown on the action in conjunction with the title

  • Type: string
  • Required: No
  • Format: uri

card

Root element in an Adaptive Card.

  • Type: object
  • Required: Yes