Select to view content in your preferred language

Dynamic Dropdown for Related Table Values in Field Maps (AGOL)

102
1
12-06-2024 08:39 AM
JuanOyanguren
New Contributor

I have a hosted feature layer on ArcGIS Online representing multiple stations, each with associated receivers and antennas. The main layer is called “stations” and I have two related tables: “receivers” and “antennas.” Each station has fields for receiver and antenna serial numbers (e.g., “receiver_SN” and “antenna_SN”), and these fields link to the related tables where each record has a corresponding “SN” field.

I need the ability to only show available receivers and antennas in a dropdown when editing station attributes in Field Maps. Each item in the related tables has a “status” field set to either “available” or “in use.” In ArcGIS Enterprise, I could accomplish this with attribute rules to dynamically update the status field and filter the dropdown. However, I can’t find a similar way to dynamically update the status or filter the domains in ArcGIS Online. I essentially want a field in Field Maps that only shows serial numbers of equipment currently marked as “available” in the related table—automatically updating when the status changes.

Is there a recommended approach for replicating this type of dynamic filtering in Field Maps/AGOL without attribute rules? Are there any best practices or known workarounds for managing equipment assignment and availability in a purely AGOL environment? Any guidance would be appreciated.

0 Kudos
1 Reply
ClayDonaldsonSWCA
Frequent Contributor

Is Field Maps a hard requirement for your use case? Survey123 could handle this scenario.

Otherwise - I would look into scheduled notebooks and use python to emulate your attribute rules.

There is also potential of using contingent values - but I would be hesitant to recommend in AGOL. As far as i am aware there is no way to update contingent values without re-publishing the layer.

0 Kudos