Skip to content

Custom Modal Dialog don`t open from app settings page(iframe) #55

@aleksandrfedorov97

Description

@aleksandrfedorov97

I created a custom modal dialog and try to call it from the settings page using the SDK. I get the error:
_"Something went wrong, failed to process command at channel.port1.onmessage (https://******************.app/vendors-node_modules_j.bundle.e454554f358cb3e6ad81.js:203:28)"

When I try to call the same dialog from the Custom Panel, everything works.

My code:

        await sdk.execute(Command.OPEN_MODAL, {
          type: Modal.CUSTOM_MODAL,
          action_id: "3e4feb78-f0ed-4722-85fd-c37cf7faa4ac"
        });

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions