web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Disable submit button ...
Copilot Studio
Unanswered

Disable submit button after first click in PVA using adaptive card

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

We are using adaptive card in our PVA to get user contact details. The problem is arising when user hits on the submit button for multiple times, it creates parallel dialogs within the bot and the result of that leads into creation of duplicate contact record system.

So as many time as user hits on the submit button it leaves us with that many record in our system.

 

Our requirement is to disable the "Submit" button once user clicked on it. So we can stop the dialog from running multiple time and hence only one contact record is being created.

 

Please also note that we are using power automate flow to create contact record in our CRM.

 

PS: We are using Bot framework composer V1.2.1 and Adaptive Card V1.3.

 

We have tried below Suggestions:

Show/hide button
Duplicate detection power automate flow
Alternate key
Add delay in flow
Tried fetch XMl query in power automate
Duplicate detection plugin
Data Duplication rule within CRM
Setting counter in bot
Using concurrency in PAF 

 

 

 

Categories:
I have the same question (0)
  • Monkeyman Profile Picture
    325 on at
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hey @Monkeyman, I am using the adaptive card in the bot responses in bot framework composer. I don't see any place where this code can get added. Please let me know if you found anything related to this.

     

    Thanks for your help :-).

  • Monkeyman Profile Picture
    325 on at

    Hey. You should be able to view and edit the code in bot framework composer 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Monkeyman There is not so much option to write code in bot composer framework. Can you suggest me where i can add this code.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 572

#2
Haque Profile Picture

Haque 154

#3
chiaraalina Profile Picture

chiaraalina 144 Super User 2026 Season 1

Last 30 days Overall leaderboard