I am trying to incorporate attribute rules into field data collection workflows. I created a set of attribute rules at the geodatabase level and then published the gdb as a hosted feature layer in ArcGIS Online. When I added the layer to a web map and tested the attribute rules in Field Maps, the rules do not apply. Does anyone know a solution for this? Do attribute rules not work with hosted feature layers? If not, how can I use attribute rules in Field Maps? Any help is appreciated!
Hey @CASSIEANGERER
It appears that Field Maps may not entirely work with attribute rules when using a Hosted Feature Service, check out this post here:
It appears that the attribute rules take place in the GDB, and since Online cannot access a local GDB, an Enterprise GDB would be needed in an Enterprise environment or similar.
Here is an article for Pro 3.5:
In this case, to automatically perform validation or checks in Field Maps, you may need to use the built in expressions in the Field Map editor to perform these actions!
Cody
Hi @CASSIEANGERER,
Field maps can do calculations on hosted services and Survey123 can do it also for hosted services. Bear in mind that should the service change or the field map or survey gets reconfigured that the calculation may be lost.