Select to view content in your preferred language

Arcade code to create unique ID for new field

679
1
10-26-2023 07:55 AM
anonymous55
Frequent Contributor

Hello

I need to create new field with unique ID for hosted layer which already published in AGOL. I can't find any Arcade code for creating unique ID for new field in AGOl here. I am thinking about to copy object id to new field but I don't know the arcade code for it.

I will appreciate any help

Tags (3)
0 Kudos
1 Reply
timcneil
Esri Contributor

Hi anonymous55, 

You might find the Guid function in Arcade useful for this to create unique guids for each feature with Field Calculation. 

 

0 Kudos