Select to view content in your preferred language

Add an incremental, unique ID

10587
21
01-02-2020 09:21 AM
JoeBorgione
MVP Emeritus

This is a topic that's been around for as long as I can remember.  The attribute assistant provided a couple methods to do this: autonumber, generate id, and there us a tool called Add Incrementing ID field but it is limited to database tables, not GEOdatabase tables; if an object id is present, the tool won't work.

Is there a method or tool available in ArcGIS Pro 2.4.3 that will autoincrement a field in an enterprise geodatabase table and/or feature class?

That should just about do it....
Tags (1)
21 Replies
GretaParis
New Contributor II

The errors I am receiving: 001487 & 001369

0 Kudos
kkopanias
New Contributor

I am using the following exression in the attribute rule and in Pro it works just fine:

'acethn'+$feature.OBJECTID

Nevertheless in a Web App in Enterprise, I get the following result: e.g. acethn-1

Instead of the $feature.OBJECTID I get the value -1.

0 Kudos