0% found this document useful (0 votes)
62 views4 pages

Designer - Adaptive Cards

The document is an Adaptive Card containing information about account expirations. It includes the title, creator name and image, creation date, and description. There are three columns listing usernames, and choice sets to select which accounts should be extended or not extended, with options for the number of days of extension. It also includes an area for a business justification and a submit button.

Uploaded by

lalitchawla1986
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views4 pages

Designer - Adaptive Cards

The document is an Adaptive Card containing information about account expirations. It includes the title, creator name and image, creation date, and description. There are three columns listing usernames, and choice sets to select which accounts should be extended or not extended, with options for the number of days of extension. It also includes an area for a business justification and a submit button.

Uploaded by

lalitchawla1986
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

{

"type": "AdaptiveCard",
"body": [
{
"type": "Image",
"url": "${creator.profileImage}",
"size": "Large",
"horizontalAlignment": "Right",
"backgroundColor": "RED"
},
{
"type": "TextBlock",
"spacing": "None",
"text": "Created {{DATE(${createdUtc},SHORT)}}",
"isSubtle": true,
"wrap": true
},
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"text": "${title}"
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"items": [
{
"type": "TextBlock",
"weight": "Bolder",
"text": "${creator.name}",
"wrap": true
}
],
"width": "stretch"
}
]
},
{
"type": "TextBlock",
"text": "${description}",
"wrap": true
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"id": "Col1",
"items": [
{
"type": "TextBlock",
"text": "UserNames",
"weight": "Bolder"
},
{
"type": "TextBlock",
"text": "User1",
"spacing": "Small"
},
{
"type": "TextBlock",
"text": "User2",
"spacing": "None"
},
{
"type": "TextBlock",
"text": "User3",
"spacing": "None"
}
],
"width": "stretch"
},
{
"type": "Column",
"id": "Col2",
"items": [
{
"type": "TextBlock",
"text": "AccntExtnReqd",
"weight": "Bolder",
"size": "Default",
"color": "Good"
},
{
"type": "Input.ChoiceSet",
"choices": [
{
"title": "ToBeExtended",
"value": "Usr1",
"id": "rad1"
},
{
"title": "ToBeExtended",
"value": "Usr2"
},
{
"title": "ToBeExtended",
"value": "Usr3"
}
],
"style": "expanded",
"spacing": "Small"

}
],
"width": "stretch"
},
{
"type": "Column",
"id": "Col3",
"items": [
{
"type": "TextBlock",
"text": "AccntExtnNOTReqd",
"weight": "Bolder",
"size": "Default",
"color": "Attention"
},
{
"type": "Input.ChoiceSet",
"choices": [
{
"title": "ExtnNotReqd",
"value": "ExtnNtReqd1",
"id": "rad1"
},
{
"title": "ExtnNotReqd",
"value": "ExtnNtReqd2"
},
{
"title": "ExtnNotReqd",
"value": "ExtnNtReqd3"
}
],
"style": "expanded",
"spacing": "Small"

}
],
"width": "stretch"
}
]
},
{
"type": "Input.Text",
"label": "Business Justification:",
"isMultiline": true,
"isRequired": true,
"placeholder": "Enter Business justification"
},
{
"type": "Input.ChoiceSet",
"choices": [
{
"title": "30",
"value": "30"
},
{
"title": "60",
"value": "60"
},
{
"title": "90",
"value": "90"
}
],
"placeholder": "Select Number of Days",
"label": "Select Number of Days, account to be extended:",
"isRequired": true
}
],
"actions": [
{
"type": "Action.OpenUrl",
"title": "Submit",
"url": "${viewUrl}"
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.3"
}

=======
{
"title": "Hi <ManagerName>,",
"description": "Please select appropriate action from below options:",
"creator": {
"name": "This is to inform you that below users reporting to you have their
account expiration in next 14 days.",
"profileImage":
"https://cdn.aarp.net/content/dam/aarp/graphics/aarp_logos/139x36-aarp-logo-header-
white-smaller.imgcache.rev5a931b762f5ebff74aa86c12542767eb.svg"
},
"createdUtc": "2017-02-14T06:08:39Z",
"viewUrl": "https://adaptivecards.io",
"properties": [
{
"key": "Board",
"value": "Adaptive Cards"
},
{
"key": "List",
"value": "Backlog"
},
{
"key": "Assigned to",
"value": "Matt Hidinger"
},
{
"key": "Due date",
"value": "Not set"
}
]
}

You might also like