I've just started using Calculated Expressions in fields in feature services used in offline maps in Field Maps. So far, it's been great, but I do have a question.
Is it possible to set a field to trigger the calculation when the data is syncronised to prevent duplicate values being calculated?
In my particular instance, I'm calculating an incrementing ID that reads the existing features, finds the max value and adds 1 to create a new value. This works fine when in online mode, but when offline, it only reads the features that are also offline, and thus only increments upwards from there, resulting in duplicate values. If the calculation could be fired on sync, then it would (hopefully) read all values in the feature service first and calculate a new unique value.