다음을 통해 공유


설문 조사 만들기 샘플

설문 조사 만들기 샘플은 Microsoft Teams에 설문 조사를 제출하도록 설계된 적응형 카드 입력 양식입니다. 카드 안의 표시 텍스트를 바꾸어 설문 조사에 맞게 사용자 지정합니다. 이 적응형 카드를 사용하면 카드 사용자의 설문 조사 값이나 투표 수에 제공된 응답을 토대로 다른 결정 경로를 선택할 수 있습니다.

설문 조사 샘플.

입/출력 및 참고 사항

동적 토큰 이름 자리 표시자 텍스트 메모:
직함 표시 텍스트
acHeaderTagLine 표시 텍스트
acHeader 표시 텍스트
acPollQuestion 표시 텍스트
acPollChoices 응답 출력
라디오 단추로 단일 선택
{
    "$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"
        }
    ]
}