Select to view content in your preferred language

Switch Unable to set Default Values

122
3
Monday
JoshuaRomer
New Contributor

I am making map for boundary closures. So I have a feature layer with points taken from a spreadsheet, and the form I'm using is a switch, to show if a site is currently open or closed. I noticed that I am unable to set a default value, and when I tested it on Field Maps, I can switch a point to "Closed" but setting it back to open gives me a "No Value." I looked under Templates, and I have 2 values, "Open" and "Closed." I'm trying to have "Open" as a default value, but all options to set a default value is unavailable.

 

0 Kudos
3 Replies
EmilyGeo
Esri Regular Contributor

Hi @JoshuaRomer

I'm not sure why you wouldn't be able to set the default value. 

  • Did you try setting the default value in the Templates tab in Field Maps Designer?
  • Can you post a screenshot of what you see there? 
JoshuaRomer
New Contributor

Switch Default2.pngSwitch Default.pngSwitch.png

Hello, in my original post, I was for some reason not allowed to post screenshots. This is what I was seeing, trying to set default values was straight up unavailable, I couldn't interact with it. However, I found a workaround, using a combo box instead of a switch. I was wanting the map points to change color from green to red while I was opening/closing locations. 

0 Kudos
EmilyGeo
Esri Regular Contributor

Hi @JoshuaRomer

I'm not sure why it wasn't working as expected. Can you try setting the styles again?

Switch to a single symbol, then back to green for open, red for closed? After you change the style, you should see a prompt to Update the templates to match the style the next time you open the Templates window. 

0 Kudos