AnsweredAssumed Answered

Generating a Unique ID on a hosted feature layer

Question asked by mccloskeym_detroitmi on Mar 8, 2019
Latest reply on Mar 11, 2019 by xander_bakker

Currently I am generating Unique IDs for features in a hosted feature service as they are collected using a database trigger. I would like to generate unique IDs on a hosted feature layer in the same fashion. Since this data does not flow through our SQL database I am unable to use a database trigger. I believe this may be possible to accomplish using arcade expressions. I am wondering if anyone has used arcade expressions to generate unique IDs or generated a unique ID for a hosted feature layer some other way? Ideally these unique IDs would be generated for features as they are collected.