Select to view content in your preferred language

make a field visible but not editable in new map viewer? Like in Classic map viewer

186
2
Jump to solution
11-14-2024 09:10 PM
Kevin_MacLeod
Frequent Contributor

how do we make a field visible but not editable in new map viewer? Like in Classic map viewer, where you can in the Popup pane check on visibility and/or editability. 

Edit: nevermind I see it's in Forms.  Which I am familiar with from the wonderful Field Maps Designer. That works. Would be nice if somehow this particular thing was also a checkbox in the Fields list you could click on some or all (all at once turn on/off or shift click to select groups to turn editing on or off, if say you have two dozen fields you want to turn editing off for all at once. This basic idea should always be a UI UX for dealing with layers and configuring things for them)

0 Kudos
1 Solution

Accepted Solutions
EmilyGeo
Esri Contributor

Hi @Kevin_MacLeod

Yes, as you discovered, forms enable you to set editability on a per field basis. To prevent editing for all fields with 1 click, you could just turn off editing for the layer in the Properties pane.

 

EmilyGeo_0-1731690424487.png

Note: Changing editing settings in the map doesn’t affect the editing settings for the layer itself, the settings only apply to that particular map.

View solution in original post

0 Kudos
2 Replies
ChristopherCounsell
MVP Regular Contributor

Forms controls the fields that appear when editing in locations that support forms (e.g. map viewer, field maps, edit widget in experience builder).

Do disable editing properly you should:

  • Create a hosted feature layer view and configure editing capabilities on the layer
  • Change editing settings on each field you do not want users to edit

If you just use map viewer classic or forms you run the risk of users changing the fields directly e.g.:

  • Adding to a new map themselves 
  • Editing in the table directly 
  • Using edit multiple in field maps (does not support forms and is on by default).

It is painful turning off fields one by one. Python is an option. Otherwise I'd encourage you to create an ArcGIS Idea as that would be a popular one.

0 Kudos
EmilyGeo
Esri Contributor

Hi @Kevin_MacLeod

Yes, as you discovered, forms enable you to set editability on a per field basis. To prevent editing for all fields with 1 click, you could just turn off editing for the layer in the Properties pane.

 

EmilyGeo_0-1731690424487.png

Note: Changing editing settings in the map doesn’t affect the editing settings for the layer itself, the settings only apply to that particular map.

0 Kudos