Forum Discussion

voonsionglum's avatar
voonsionglum
Brass Contributor
Apr 10, 2020
Solved

Handling Teams latency

Hi, We have a bot that is showing users adaptive cards.  The cards are built with submit action buttons.  We have noticed that when users click on the submit buttons, the bot and its web app may take time to respond.  During this "waiting period", users would click on the buttons again, resulting in duplicate actions being performed.  

 

Is there a way to give an indicator to the users that the button has been clicked and an action is performing in the background?  For eg. disable the button after it's been clicked?

 

Thank You

  • voonsionglum  Does your Button event click is executing the POST call. If not then request you to perform HTTP POST request. This would disable the button. I have performed this in Message card and it works fine for me. I mean, it disables my button until the response received back from the server.

     

2 Replies

  • NadirRiyani's avatar
    NadirRiyani
    Brass Contributor

    voonsionglum  Does your Button event click is executing the POST call. If not then request you to perform HTTP POST request. This would disable the button. I have performed this in Message card and it works fine for me. I mean, it disables my button until the response received back from the server.

     

Resources