I am trying to create arcade for my TREE ID. I have some IDs currently, but would like it to auto calculate a new ID that comes next in line when another record is creating. My code does not have an output. Any ideas?
Hi,
Ensure your FeatureSetByName function call is syntactically correct. You are missing a comma before the false
parameter. Also, It's good practice to include some form of error handling or checking to ensure that your script can handle unexpected situations , such as when there are no features in the feature set.
Dear Laura,
I think if you want to access a field of a Feature you should use one of these ways:
1) $Feature.fieldname
2) $Feature['fieldname']
and I am not surehere you can use $originalFeature.