I created a simple FeatureLayer called Cryptids2 to test the Editor widget. The idea is the user can click on the map and indicate whether they saw, say, Bigfoot or a jackalope or two other types of creatures. I gave each of the four types a unique symbol in my webmap, but on the Editor widget the default "New Feature" with a circle shows up, rather than showing my four symbols.
This behavior is in contrast with a second layer I added, the "Hazard" layer that is used in the Editor widget documentation. If you look at the widget on my Pages site https://ericdmj.github.io/edittest/, you can see that the Hazard layer works as expected, with the user able to see and click icons associated with values and add them to the map. But if you scroll down in the widget, my Cryptids2 layer isn't being equally fancy. Any notions why that is? (Attached is a picture of the Editor from my GitHub site showing what I mean.)
Here's my webmap. (Attached is a picture showing the Legend from that with the symbols I want to appear in my Editor widget.)
Solved! Go to Solution.
This is because in both cases, the editor is setting these options up based upon FeatureTemplate information defined within the service. Here you can see the information from your service:
https://services.arcgis.com/HRPe58bUyBqyyiCt/arcgis/rest/services/Cryptids2/FeatureServer/0?f=pjson
If you search for (Ctrl-F) "templates", you'll see the information that corresponds with the "New Feature" option for your layer.
Here's the service information for the hazards layer:
In this case, if you search for "types" you'll find the information that drives what's found in the Editor widget.
Therefore, if you setup the templates in your map before publishing, you should get the expected results. If you're using ArcGIS Pro, this page might be a good place to start.
This is because in both cases, the editor is setting these options up based upon FeatureTemplate information defined within the service. Here you can see the information from your service:
https://services.arcgis.com/HRPe58bUyBqyyiCt/arcgis/rest/services/Cryptids2/FeatureServer/0?f=pjson
If you search for (Ctrl-F) "templates", you'll see the information that corresponds with the "New Feature" option for your layer.
Here's the service information for the hazards layer:
In this case, if you search for "types" you'll find the information that drives what's found in the Editor widget.
Therefore, if you setup the templates in your map before publishing, you should get the expected results. If you're using ArcGIS Pro, this page might be a good place to start.
Oh, wow. Good find, and I appreciate your explanation, @JoelBennett ! I'm using ArcGIS Online in this case, so I used its equivalent to the ArcGIS Pro page you provided above, and it got me there, specifically by using the Map Viewer Classic instructions.
Attached is the image from my working copy (different from the link above).