Skip to content

Instantly share code, notes, and snippets.

@MikeAinOz
Created February 4, 2021 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MikeAinOz/b1bb2884a6d39ea033b080f9d4e60d4c to your computer and use it in GitHub Desktop.
Save MikeAinOz/b1bb2884a6d39ea033b080f9d4e60d4c to your computer and use it in GitHub Desktop.
Task Card Adaptive Card
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.3",
"body": [
{
"type": "Input.Date",
"id": "StartDate",
"label": "Start Date",
"isRequired": true
},
{
"type": "Input.Date",
"label": "Due Date",
"id": "DueDate"
},
{
"type": "Input.ChoiceSet",
"choices": [
{
"title": "Mike",
"value": "mike@example.com"
},
{
"title": "Zoe",
"value": "zoe@example.com"
},
{
"title": "Jim",
"value": "jim@example.com"
}
],
"placeholder": "Select Assign",
"id": "Assign",
"label": "Assign"
},
{
"type": "Input.Text",
"placeholder": "Task",
"id": "TaskName",
"label": "Task",
"value": "${taskName}"
},
{
"type": "Input.Text",
"placeholder": "TaskDetail",
"id": "TaskDescription",
"label": "TaskDetail",
"isMultiline": true,
"maxLength": 240,
"value": "${taskDescription}"
}
,
{
"type": "ActionSet",
"actions": [
{
"type": "Action.Submit",
"title": "Action.Submit",
"data": {
"product": "${ProductId}"
}
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment