Select to view content in your preferred language

Attribute Rules in Field Maps with Hosted Feature Layer

194
2
4 weeks ago
CASSIEANGERER
Emerging Contributor

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!

0 Kudos
2 Replies
CodyPatterson
MVP Regular Contributor

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:

https://community.esri.com/t5/attribute-rules-questions/can-attribute-rules-be-used-on-feature-servi...

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:

https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/share-datasets-with-attribu...

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

0 Kudos
RPGIS
by MVP Regular Contributor
MVP Regular Contributor

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. 

0 Kudos