We have a feature layer in a web map that is basis of an editor using Experience Builder. The clients should be able to create new features as well as edit existing features in the app.
Due to some scripts being used, we need a 'UID' field of unique numeric IDs.
It will work for our purpose if we can grab the value in the Object ID field and populate the UID field with this value when a new feature is created.
So far I am not finding any Arcade snippets that may work for this. Ideally this value would be written during the feature creation in the app, but then not editable.
Ideas?