Using Collector to collect / update signs along multiple canals. Want to consolidate the condition of each sign (good / weathered / repair / replace ect). Any ideas how to make this happen?
You can use the REST API to edit the feature's json file. Domains are listed in the fields section, and looks something like (in the case of a field named "Informed"):
{ "name" : "Informed", "type" : "esriFieldTypeString", "alias" : "2 Employees informed of laws", "sqlType" : "sqlTypeOther", "length" : 1, "nullable" : false, "editable" : true, "domain" : { "type" : "codedValue", "name" : "YN", "codedValues" : [ { "name" : "?", "code" : "?" }, { "name" : "No", "code" : "N" }, { "name" : "Yes", "code" : "Y" } ] }, "defaultValue" : null }, <SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
If you decide to edit the json, I would also suggest looking at the "types" section in case the field needing modification is used in symbology. This section may also require editing.
To get to the json file, in My Content, click on the feature layer. From the layer's Overview tab, look in the Layers section and click on "Service URL". You should get a page with a link indicating "JSON". To update the json you need to be in the Administration directory. Use the API Reference link for additional help.
If you haven't edited a json file, do some testing with a backup.
Where is your data being stored? AGOL or your own server?
https://community.esri.com/community/gis/applications/collector-for-arcgis?sr=search&searchId=0a35842e-effe-4da6-a9e6-68c0b27d2d13&searchIndex=1
AGOL
Thanks. Will take a look at that.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.