Esri / field-maps-scripts

A set of scripts and notebooks to help administer maps and workflows for ArcGIS Field Maps.
Apache License 2.0
57 stars 14 forks source link

Add GPS Metadata Capture Domains #17

Open dmirandaUSGS opened 1 year ago

dmirandaUSGS commented 1 year ago

Describe the bug If I try to run the Add GPS Metadata capture for line and polygon layers on an existing line hosted feature layer that has a missing domain, the notebook fails to update with the error

image

To Reproduce

  1. Create a new line hosted feature layer on ArcGIS Online with no GPS metadata fields.
  2. Run the notebook to create the GPS metadata fields.
  3. Through ArcGIS Online, click delete list in the field properties for Worst fix type.
  4. Re-run the script.
  5. Error pictured above is shown, domain is not updated.

Expected behavior The missing domain for Worst fix type should be added back.