Hello, we have created a Collector/Field Map that work together. The users enter information either on their computer via Collector app or on their phone via Field Maps.
I have a feature layer/shape file that contains the districts. I am wondering, when a point is placed on the map in either app, is there by using the district layer, to autopopulate the district field. For example, placing a dot on the map would then autopopulate the field that this is District 1.
I have read about using attribute rules, python scripts. I am wondering what is the best route.
And if the district can be accomplished, I am wondering if its possible to autopopulate a field with an address.
Thank you, Annette
@XanderBakker - Hello, I saw some of your responses to posts regarding similar situations. I would appreciate any suggestions. Thank you.
Hello Annette,
From your explanation, I believe that using attribute rules would be the best workflow for this case. However, there are some caveats. Are you using ArcGIS Online or ArcGIS Enterprise? And is the data published as copy to the data store or referenced/registered from an enterprise geodatabase?
As an alternate workflow, Web AppBuilder's Smart Editor widget does have the ability to extract value of a field from another intersecting layer(s) by setting Attribute Actions.
Attribute Actions
Layer(s) to extract a value
- Layers—Layer that will be intersected.
- Fields—Field that will be extracted from the selected layer.
- Tolerance Settings—The threshold for an intersect to occur.
Click the Tolerance Settings button
Best regards,
Kanin
If this answer solved your question, please mark it as "Accept as Solution" to help others who have the same question.