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 Apps / Force Data Integrity o...
Power Apps
Answered

Force Data Integrity on Submit of a New Record to a SharePoint List

(0) ShareShare
ReportReport
Posted on by 311

I have a New Record Screen associated with a SharePoint List, which is in use by many different users. There is an issue where 2 or more users may submit a new record in a similar timeframe - and associated ID's are becoming duplicated. How can I apply a data integrity rule, to ensure that no 2 records contain the same unique ID, when users Commit / Submit a New Record?

 

At the moment, I have a variable which is invoked directly prior to submission, which gets a MAX + 1 of the current unique ID - but still I am seeing duplicates in the process and it's exceptionally frustrating!

 

Thanks!

Categories:
  • Verified answer
    C-Papa Profile Picture
    1,836 on at

    Hi, click the SharePoint list settings, click on the column that you would like unique values for, then select Enforce unique values => yes.

    If an ID already exists the user will get an error, then you can handle the error using IfError()

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 Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard