Skip to content

[Rendering] Action.Popover in Copilot Studio does not pass the actionSubmitId from the underlying Action.Submit #9261

@dmitrijsc

Description

@dmitrijsc

Target Platforms

Other

SDK Version

1.5

Application Name

Copilot Studio

Problem Description

When using Action.Popover, submit buttons inside the popover are not functional because the actionSubmitId is not passed back to the Copilot Studio Agent. As a result, Action.Submit events inside the popover cannot be identified or handled properly resulting in an error.

Error message in the Copilot Studio

adaptiveCardResponseInvalidUnable to parse the following response: {}. actionSubmitId is required to be present on the action.

Screenshots

Image

Card JSON

{
    "type": "AdaptiveCard",
    "$schema": "https://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.5",
    "body": [
        {
            "type": "TextBlock",
            "text": "New TextBlock",
            "wrap": true
        }
    ],
    "actions": [
        {
            "type": "Action.Popover",
            "title": "Action.Popover",
            "content": {
                "type": "Container",
                "items": [
                    {
                        "type": "TextBlock",
                        "text": "Are you sure you want to cancel this order?"
                    },
                    {
                        "type": "ActionSet",
                        "actions": [
                            {
                                "id": "confirm",
                                "type": "Action.Submit",
                                "title": "Yes, cancel my order"
                            },
                            {
                                "id": "decline",
                                "type": "Action.Submit",
                                "title": "No, keep my order"
                            }
                        ]
                    }
                ],
                "spacing": "None"
            },
            "id": "idx4"
        }
    ]
}

Sample Code Language

No response

Sample Code

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions