Search code examples
botframeworkmicrosoft-teamsadaptive-cards

How to implement Search members functionality (Similar to Praise App) in Adaptive Card invoked via MS Team's Message Extension feature


I am working on MS-Team App which has features similar to Praise(Default app). This app will have "Message Extension" capability which will enable user to invoke it from bar/compose section and will show a wizard. The wizard is implemented through task/fetch-continue-submit workflow.

My question is that in Praise app, I can see a functionality of searching users and then adding it to a list(See attached image). I think that is built inside Adaptive Card but I don't see any such control/event in adaptive card to implement same thing. So how they have implemented it or there is something I am missing?

enter image description here


Solution

  • I don't think you can do this with adaptive cards and will need to make your own custom UI to display via a task module response.

    Over at the adaptive cards feature portal, you can vote for this as a feature to add: Dynamic searchable select menu (like select2)

    (I also would very much like to do this in an adaptive card from a messaging extension, so I'll be interested to hear if anyone else thinks there's a way to do it.)