You are sharing data from Elasticsearch or OpenSearch as a web feature layer that references registered data, but the selected unique identifier for the query layer does not support editing. The _id (underscore) field must be the only selected unique identifier when editing is enabled.
Solutions
Do one of the following:
- Change the unique identifier field.
Hover over the analyzer message. Click the Options button
that appears and click Change Source Layer Properties. On the Layer Properties dialog box, on the Source tab, click the Edit Query button
. On the Edit Query Layer dialog box, click Next. Select the _id field, unselect any other field if necessary, and click Finish. - If you don't need to edit any of the data in the map, disable editing and publish a read-only web feature layer.
Click the Configuration tab. If necessary, click the Configure Layers tab
below it. Under Layer(s), next to Feature, click the Configure Web Layer Properties button
. Under Operations, uncheck the Enable editing and allow editors to check box.
Additional information
For more information, see Analyze your GIS resource.