Search code examples
botframeworkmicrosoft-graph-apichatbotmicrosoft-teamsadaptive-cards

Show an adaptive card in popup (using tabs configuration url) while bot is installed in msteams


I want to show a task module (not url) while bot installs (with tab) in the teams. Something like Text does, but a bit more interactive with drop downs and all.

enter image description here

I have referred to the link to create deep link for tab and paste the link here, in app-studio manifest editor:

enter image description here

But this doesn't seem to work. Only an empty pop up shows following this procedure.

Can someone correct me, where I am going wrong! TIA!


Solution

  • This "Text" screen is not showing a Task module, it's showing a custom Configuration page for the app's Tab installation. When you create an App that includes a Tab, you have the option of creating such a "Configuration" popup that gives the user the chance to configure how your tab will actually work. See here for more: https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/create-tab-pages/configuration-page

    Within that configuration page, you can show whatever web content you'd like. Showing an Adaptive Card is a bit of a strange scenario considering it's a web page, but you could conceivably do this using the adaptive cards js library inside the page (https://www.npmjs.com/package/adaptivecards)