Warning for duplicate entry

448
2
06-22-2023 07:37 PM
Labels (1)
IvanG
by
New Contributor

Im setting up a projects mapping tool using ArcGIS Experience Builder.

The purpose of it is to log project locations on a map. 

Im using Feature Layer hosted online with a group of ArcGIS users who enters projects to the map with associated attributes.

Im trying to eliminate users to use duplicate project numbers unintentionally. A project number is a sequential number so if someone entered x for the project number, I would like the next project to be entered x+1.

From what I read there is no way to repopulate the default value for the record on ArcGIS Online.

So I added a dynamic text field suggesting the next Project number based on the max value in the field plus one.

Question: is there a way to get a warning to the user if entered project # exists to confirm it before saving?

Thank you for any help!

0 Kudos
2 Replies
IvanG
by
New Contributor

IvanG_0-1687487894339.png

 

0 Kudos
TianWen
Esri Contributor

I think you can make an auto-increment Arcade expression for your data via Map Viewer, then use the data in ExB. That way, your intended goal will be achieved. Thanks!

0 Kudos