Crea unha mostra de enquisa
A mostra crear unha enquisa é un formulario de entrada de tarxeta adaptable que está deseñado para enviar enquisas Microsoft Teams. Substitúe o texto que aparece nesta tarxeta para personalizar a enquisa. Esta tarxeta adaptable permítelle tomar diferentes camiños de decisión en función das respostas que se dan nos valores das enquisas, ou recontos de votos, dos consumidores da tarxeta.
Entradas/Saídas e notas
Nome do token dinámico | Texto do marcador de posición | Notas: |
---|---|---|
Cargo | Mostrar texto | |
acHeaderTagLine | Mostrar texto | |
encabezado | Mostrar texto | |
acPollQuestion | Mostrar texto | |
acPollChoices | Saída de resposta Selección única como botóns de opción |
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"text": "Poll Request",
"id": "Title",
"spacing": "Medium",
"horizontalAlignment": "Center",
"size": "ExtraLarge",
"weight": "Bolder",
"color": "Accent"
},
{
"type": "TextBlock",
"text": "Header Tagline Text",
"id": "acHeaderTagLine",
"separator": true
},
{
"type": "TextBlock",
"text": "Poll Header",
"weight": "Bolder",
"size": "ExtraLarge",
"spacing": "None",
"id": "acHeader"
},
{
"type": "TextBlock",
"text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer vestibulum lorem eget neque sollicitudin, quis malesuada felis ultrices. ",
"id": "acInstructions",
"wrap": true
},
{
"type": "TextBlock",
"text": "Poll Question",
"id": "acPollQuestion"
},
{
"type": "Input.ChoiceSet",
"placeholder": "Select from these choices",
"choices": [
{
"title": "Choice 1",
"value": "Choice 1"
},
{
"title": "Choice 2",
"value": "Choice 2"
},
{
"title": "Choice 3",
"value": "Choice 3"
}
],
"id": "acPollChoices",
"style": "expanded"
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Submit",
"id": "btnSubmit"
}
]
}