CÓMO

Crear una capa de entidades alojada que esté abierta a comentarios del público

Last Published: July 21, 2023

Resumen

It is sometimes necessary to enable comments on the web map to collect user feedback. This article provides a workaround to create a hosted feature layer with a field added to enable comments and keep track of user comments on the web map.

Procedimiento

Note:
The following steps require an ArcGIS organizational account with sufficient privileges to publish hosted feature layers.
  1. Create a hosted feature layer.
    1. In ArcGIS Online, navigate to Content > My Content, and click the Create button.
Image showing the Content tab in ArcGIS Online
  1. In the drop-down menu, click Feature Layer.
  2. In the Create a feature layer window, on the From Template tab, click Build a layer.
Image showing the Create a feature layer window
  1. Click Points, and click Create.
Image showing the Points pane in the Create a feature layer window
  1. In the next window, make the necessary changes or edits, and click Next.
  2. Use the mouse to pan and zoom the map to the desired map extent, or manually type the coordinates in the coordinate boxes, and click Next.
Image showing the window to set the map extent
  1. Specify a name for Title and Tags.
  2. Click Done.
  1. Add a field to the hosted feature layer to enable comments.
    1. On the item details page, click the Data tab, and click Field.
Image showing the Data tab in ArcGIS Online
  1. Click the Add Image of the +Add button button.
  2. In the Add Field window, specify a name for Field Name and Display Name.
  3. For Type, click the drop-down menu, and select String.
  4. Click Add New Field.
  1. Enable the settings of the hosted feature layer to track user comments.
    1. On the item details page, click the Settings tab.
Note:
To share the feature layer with the public, under General settings, check the Public Data Collection check box, and click Save.
  1. Under the Feature Layer (hosted) settings, check the Enable editing, Keep track of created and updated features, and Keep track of who created and last updated features check boxes.
  2. Click Save.
  1. Ensure the web map and hosted feature layer are shared with the same audience.
    1. In ArcGIS Online, navigate to Content > My Content.
    2. On the left side of the page, navigate to the folder the items are saved in, and click the folder to open it.
    3. On the list, check the check boxes to select the items.
    4. Click Share.
Image showing the items list in My Content in ArcGIS Online
  1. In the Share window, select either Organization or Everyone (Public).
  2. Click Save.

Id. de artículo: 000024505

Recibir notificaciones y encontrar soluciones a problemas nuevos o comunes

Obtenga respuestas resumidas y soluciones de vídeo de nuestro nuevo chatbot de IA.

Descargar la aplicación de soporte de Esri

Información relacionada

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga