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 / Power Pages / How to prevent duplica...
Power Pages
Unanswered

How to prevent duplicate records with advanced forms

(0) ShareShare
ReportReport
Posted on by 21

Hi, 

I have a dataverse table that contains the portal user (lookup on Customer table ) and a string column, 'period'.

I have an advanced form with the first step displaying an input field for this field 'period'.  However, I want to prevent duplicate entries, so that there is only one record for each portal user.  

I cannot use alternative keys as there is no column for the lookup column when I try and create an alternative key in dataverse, I see the rest of the columns but not the portal user column.  

 

The ideal behaviour is when the user starts the advanced form and enters a value in the period column.  If there is already a record with the portal user and period value, then it should redirect to an edit form.

 

Thanks in advance,

Categories:
  • hershal1999 Profile Picture
    111 on at

    I am writing an article for the solution for custom duplicate detection, will post here as soon as it's ready.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 18 Super User 2026 Season 2

#1
Mohsin Ali Profile Picture

Mohsin Ali 18

#3
CU08101843-0 Profile Picture

CU08101843-0 4

Last 30 days Overall leaderboard