field-maps-scripts icon indicating copy to clipboard operation
field-maps-scripts copied to clipboard

Add GPS Metadata Capture Domains

Open dmirandaUSGS opened this issue 2 years ago • 0 comments

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.

dmirandaUSGS avatar Dec 02 '22 23:12 dmirandaUSGS