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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Prevent User from Subm...
Power Pages
Unanswered

Prevent User from Submitting duplicate form on Power Apps Portals.

(0) ShareShare
ReportReport
Posted on by 66

I have a created a web form on power apps portal website. Now I want to prevent users from submitting the form on the website more once. I read and used duplicate detection but it is not working. My database is Dataverse. 

Categories:
I have the same question (0)
  • Verified answer
    ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @rkadey 

     

    You can achieve this using Alternate keys. Adding official URL for reference 

     

    https://docs.microsoft.com/en-us/powerapps/maker/data-platform/define-alternate-keys-portal 

     

     

    Hope it helps. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

  • hershal1999 Profile Picture
    111 on at

     @rkadey I think what@ragavanrajan mentioned will definitely work and I would say it will be a good and easy to implement option as well. But just for some reason  you cannot use this option for whatever reason you can also create synchronous Create plugin message and use pre image to identify if the submitting record already exists or not if yes then throw error. This will rollback the transaction. Benefit of this is that you can have your own custom logic but downside is that you will have to maintain this custom logic as well.

     

    So in my opinion you have couple of options here to choose from. 

     

    Hope this helps.

  • rkadey Profile Picture
    66 on at

    @ragavanrajan  Thank you for your response. I went through the docs but it is silent about how it will prevent the duplicate submission. Can you kindly outline the steps? Thanks.

  • rkadey Profile Picture
    66 on at

    @hershal1999 Thank you for your response. Can you break your solution down? I seem to be lost.

  • Verified answer
    hershal1999 Profile Picture
    111 on at

    @rkadey give me until weekend and will breakdown the steps to achieve this solution.

  • rkadey Profile Picture
    66 on at

    @hershal1999 well noted. looking forward to that.

  • rkadey Profile Picture
    66 on at

    Screenshot (46).pngScreenshot (47).png

    These are the screenshots of the error I get. I don't know whre the duplicate is. @hershal1999 @ragavanrajan 

  • Verified answer
    H V Profile Picture
    1,510 on at

    Hi @rkadey 

    The field crd26_email has some value available or some duplicate value. Please remove duplicate value or all the value for crd26_email field if possible.

     

    --------------------------
    If you like this post, give a Thumbs up. Where it solved your query, Mark as a Solution so it can help other people!

  • rkadey Profile Picture
    66 on at

    This works @hardikv . Thanks so much

  • hershal1999 Profile Picture
    111 on at

    @rkadey I am glad that this is resolved for you.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard