Apply Relationship Class Rules to Collector

518
3
10-28-2015 05:56 AM
Status: Open
AhjungKim4
Occasional Contributor II
I suggest enforcing relationship class rules to feature service and applying that to Collector. 

"[...] HazMat landfill can be related to one or two deep wells or between two and seven shallow wells. However, if a sanitary landfill is related to a deep well, but no rule has been created between these two subtypes, the Validate Features command will consider the relationship to be invalid(http://resources.arcgis.com/EN/HELP/MAIN/10.1/index.html#//004t00000004000000)"

In above scenario, it'd be ideal if user selects HazMat in the origin table, only deep wells and shallow wells show as available choices in the destination table drop-down. Also, if the number exceeds the maximum limit, show a warning message to user. I suppose this can be a challenge for offline data collection. 




 
3 Comments
MicahBabinski

Excellent idea! This just came up for me at work. Why on Earth would someone downvote this idea???

AhjungKim4

An Esri developer? Joking

Ahjung

MicahBabinski

Zing! Btw, it looks like there is an additional relationships resource that would expose the attribute rule properties within a feature service in the ArcGIS REST API, introduced at version 10.7. So, maybe they are planning to implement what you are talking about soon.

https://developers.arcgis.com/rest/services-reference/relationships-feature-service-.htm