Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
115 lines (115 sloc) 3.68 KB
{
"type": "AdaptiveCard",
"version": "1.2",
"body": [
{
"type": "ColumnSet",
"columns": [
{
"width": "stretch",
"type": "Column",
"items": [
{
"text": "Basic Data",
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder"
},
{
"type": "TextBlock",
"text": "Name"
},
{
"type": "Input.Text",
"placeholder": "Person full name",
"value": "{$root.displayName}",
"id": "name"
},
{
"type": "TextBlock",
"text": "Job Title"
},
{
"type": "Input.Text",
"placeholder": "Persons's Job Title",
"value": "{$root.jobTitle}",
"id": "job"
}
]
},
{
"width": "stretch",
"type": "Column",
"items": [
{
"text": "Contact Details",
"type": "TextBlock",
"weight": "Bolder",
"size": "Medium"
},
{
"text": "Email",
"type": "TextBlock"
},
{
"placeholder": "*@*.com",
"type": "Input.Text",
"value": "{$root.mail}",
"id": "email"
},
{
"text": "Business Phone",
"type": "TextBlock"
},
{
"placeholder": "+1 223 546",
"value": "{$root.businessPhones[0]}",
"type": "Input.Text",
"id": "phone"
}
]
}
]
},
{
"text": "Office",
"type": "TextBlock"
},
{
"placeholder": "Building Number",
"type": "Input.Text",
"value": "{$root.officeLocation}",
"id": "office"
},
{
"type": "TextBlock",
"text": "Profile Image"
},
{
"placeholder": "Placeholder text",
"type": "Input.Text",
"id": "image"
},
{
"type": "ActionSet",
"actions": [
{
"title": "Save",
"type": "Action.Submit",
"id": "submit",
"style": "positive",
"data": {
"personId": "{$root.id}"
}
},
{
"title": "Cancel",
"type": "Action.Submit",
"id": "cancel",
"style": "negative"
}
]
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json"
}
You can’t perform that action at this time.