I would like to have a hosted feature layer with multiple editors, but limit each editor (or group of editors) to a defined geographical area (geofence polygon).
Hi @GeordonHarvey
I think you could configure something like this using Arcade. For a simple editing Geofence, I've written a blog you can find here: https://community.esri.com/t5/arcgis-field-maps-blog/configure-an-editing-geofence-in-your-form-using/ba-p/1567096
The next challenge would be to take it a step further and incorporate the GetUser function.
For example, you could do something like this:
\\ Sarah Smith needs to work at Property1 var mobileWorker = GetUser($layer).fullName var areaName = FeatureSetByName($map, 'Property Boundaries', ['PropertyName']) var areaLocation = First(Intersects($feature, areaName)) if (mobileWorker = 'Sarah Smith' && areaLocation = 'Property1') { return true } else { return false }
Faça login para publicar, seguir conteúdo e mais. Novo aqui? Registre-se gratuitamente.