![]() There's no JavaScript submitHandler function to call when the user closes or presses a button on the Adaptive Card. The value of taskInfo.card is the JSON for an Adaptive Card.For more information, see task module invocation errors. ![]() If there's a submitHandler function on the page and there's an error when invoking (), then submitHandler is invoked with err set to the error string indicating the same. JavaScript on that page calls microsoftTeams.initialize(). The task module window appears and TaskModule.url is loaded as an inside it. The value of TaskInfo.url is set to a URL.To invoke a task module from a tab use () passing a TaskInfo object and an optional submitHandler callback function. You can see how invoking a task module from a tab and submitting the result of a task module works. The dialog.submit property can only be called within a dialog.
0 Comments
Leave a Reply. |