Changing the name of header in editor while editing

676
1
10-02-2019 10:56 PM
Eicpoc1
New Contributor

How can I get 'Editing Layer's Name' in place of 'Untitled feature' as shown in the below images of Esri's ArcGIS API for JS- 'Editor widget  - 4.12 ?

Here, the header of the box is displaying,

Here, the header of the box is displaying,

Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

Eic,

  What you will notice is that there is a difference between the two web map layer that are being edited in those two samples.

widgets-editor-basic:

https://services.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/rest/services/Hazards_Uptown_Charlotte/FeatureSe... 

Display Field: HazardType

widgets-editor-configurable:

https://services.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/rest/services/Crime_Map_Demo/FeatureServer/0 

Display Field:

The display field is what is being shown in the editors header.