cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
manojrohit16
Helper I
Helper I

Autogenerate Unique ID and restrict create duplicate Autogenerate ID

Hello There,

 

I have customized the form and created Autogenerated ID like the below link:
https://techcommunity.microsoft.com/t5/sharepoint/auto-increment-number-field-in-a-sharepoint-list/m...

 

An item is created by 3 types:

- By clicking on new

- By Shared Email

- By Microsoft Form

 

Now, the client wants to show a unique ID when creating a new item and save it into the list but an issue is when more than 1 user creates an item then the same Autogenerate ID is saved so how can we avoid this situation?

 

Regards,

1 REPLY 1
cwebb365
Super User
Super User

Can't utilize the build in id column? That is unique at all times as a primary key is. Only other way might be to just utilize GUID() functions if id isn't an option.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (1,671)