Created
February 4, 2021 19:37
-
-
Save MikeAinOz/b1bb2884a6d39ea033b080f9d4e60d4c to your computer and use it in GitHub Desktop.
Task Card Adaptive Card
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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": "[email protected]" | |
}, | |
{ | |
"title": "Zoe", | |
"value": "[email protected]" | |
}, | |
{ | |
"title": "Jim", | |
"value": "[email protected]" | |
} | |
], | |
"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