<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>idea Allow Default Value to be removed or changed in Hosted Feature Service Field View in ArcGIS Online Ideas</title>
    <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idi-p/940086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At this time, if you set up a Default Value for a field upon creation of a Hosted Feature Service, you have to delete and re-create the field to remove the default value.&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/471230_DefaultValue.jpg" /&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Please allow the functionality to re-configure the Default Value of a field post hoc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Nov 2019 17:09:32 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-11-01T17:09:32Z</dc:date>
    <item>
      <title>Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idi-p/940086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At this time, if you set up a Default Value for a field upon creation of a Hosted Feature Service, you have to delete and re-create the field to remove the default value.&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/471230_DefaultValue.jpg" /&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Please allow the functionality to re-configure the Default Value of a field post hoc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Nov 2019 17:09:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idi-p/940086</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-11-01T17:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1025045#M7649</link>
      <description>&lt;P&gt;I agree.&amp;nbsp; The default field value should be editable.&lt;/P&gt;&lt;P&gt;I'd classify this as a bug and not a feature enhancement.&lt;/P&gt;&lt;P&gt;Is there any workaround that can be used now?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 21:20:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1025045#M7649</guid>
      <dc:creator>RichSikon</dc:creator>
      <dc:date>2021-02-09T21:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1031134#M7682</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/47831"&gt;@RichSikon&lt;/a&gt; were you able to find a workaround?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 20:35:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1031134#M7682</guid>
      <dc:creator>BrittanyBurson</dc:creator>
      <dc:date>2021-02-26T20:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1031463#M7684</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/152557"&gt;@BrittanyBurson&lt;/a&gt; my Case #02736976 has ben classified as a defect and&amp;nbsp;is attached to the enhancement ENH-000137389&lt;/P&gt;&lt;P&gt;The workaround is to access the REST interface as the admin.&amp;nbsp; I haven't tried this yet but examining the json code I can see that there are multiple places where the default appears and it would need to be changed everywhere it appears.&lt;/P&gt;&lt;P&gt;Here is the workaround I was given:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;This capability is not present in ArcGIS Online and to an extent, in Desktop Application. Unless we use a tool (Alter Field/Assign Default to Field)&lt;/LI&gt;&lt;LI&gt;In ArcGIS Online to achieve this, alternatively, we can use REST as outlined in the URL below:&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://www.esri.com/arcgis-blog/wp-content/uploads/2014/10/How-to-Update-Hosted-Feature-Service-Schemas1.pdf?rmedium=bulk-arcgis-files&amp;amp;rsource=http://blogs.esri.com/esri/arcgis/files/2014/10/How-to-Update-Hosted-Feature-Service-Schemas1.pdf" target="_blank"&gt;&lt;STRONG&gt;How to Update Your Hosted Feature Service Schemas in ArcGIS Online&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI&gt;In case you are unable to update a nullable property, you can refer to the below URL:&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://support.esri.com/en/technical-article/000013994" target="_blank"&gt;&lt;STRONG&gt;Problem: Unable to modify the nullable property of a hosted feature service from the REST endpoint&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 01 Mar 2021 13:27:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1031463#M7684</guid>
      <dc:creator>RichSiko</dc:creator>
      <dc:date>2021-03-01T13:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1110010#M8414</link>
      <description>&lt;P&gt;As a follow-up on the proposed work arounds, the approach to use the REST admin endpoint did not work for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i added a new field to my hosted feature layer, I set the field as nullable with a default value of 1.&amp;nbsp; Unfortunately, there is a bug in Arcade so that Arcade uses the default value when trying to set the field value to null (agreed that this is an edge case, but its the situation we are in with adding a new field to a many-year-old data set). Anyway, i tried to use the REST Admin endpoint to Update the Definition to remove the default value.&amp;nbsp; Despite the REST response reporting 'success', implying to me that the change to default value worked, the default value remained unchanged.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My 'workaround' at this point is to add another new field, DO NOT set a default value, and then calc the values for the new field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 22:08:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1110010#M8414</guid>
      <dc:creator>Trippetoe</dc:creator>
      <dc:date>2021-10-21T22:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1184506#M9037</link>
      <description>&lt;P&gt;Definitely a necessary functionality for published layers. I tried the REST Admin endpoint workaround and doesn't work. ArcGIS Pro already have this tool: Assign Default to Field but it doesn't work with hosted feature layers.&lt;/P&gt;&lt;P&gt;It's incredible the amount of work one have to do to fix this behavior:&lt;/P&gt;&lt;P&gt;1. Arcade is showing the default value on records with null value&lt;/P&gt;&lt;P&gt;2. We have to create another field, do a field calculation, delete the previous field.&lt;/P&gt;&lt;P&gt;3. Reorder the new field on the popup window and FieldMaps form. Create calculated field from the new added field.&lt;/P&gt;&lt;P&gt;4. Edit labels on the map to show the new created field.&lt;/P&gt;&lt;P&gt;All of this for one single wrong default value. Please, implement this on the next AGOL release.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 22:35:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1184506#M9037</guid>
      <dc:creator>MiltonSolano</dc:creator>
      <dc:date>2022-06-20T22:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1257712#M9778</link>
      <description>&lt;P&gt;Has there been any luck on this enhancement request? The directions to access the rest endpoint gives me an invalid token error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 21:12:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1257712#M9778</guid>
      <dc:creator>LyonMNGIS</dc:creator>
      <dc:date>2023-02-13T21:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1257936#M9785</link>
      <description>&lt;P&gt;The current status of enhancement request &lt;SPAN&gt;ENH-000137389&amp;nbsp;&lt;/SPAN&gt;is "&lt;SPAN&gt;In Product Plan".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is defined as an enhancement&amp;nbsp;planned in a near-term release.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hopefully that means months and not years.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 13:25:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1257936#M9785</guid>
      <dc:creator>RichSiko</dc:creator>
      <dc:date>2023-02-14T13:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1260269#M9801</link>
      <description>&lt;P&gt;&amp;nbsp;I also want to change a default value on a&amp;nbsp;Hosted Feature Service Field easly and waiting for a&amp;nbsp;&lt;SPAN&gt;near-term release !&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, I changed the value on the&amp;nbsp;REST interface : it works&amp;nbsp; but if the field is empty before.. and the default value on the AOL interface is still the previous one..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 22:00:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1260269#M9801</guid>
      <dc:creator>Nadia33</dc:creator>
      <dc:date>2023-02-21T22:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1288456#M10068</link>
      <description>&lt;P&gt;Yes please, make this happen.&amp;nbsp; I shouldn't need to hit the rest interface to change a value.&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 06:09:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1288456#M10068</guid>
      <dc:creator>TracySArchibald</dc:creator>
      <dc:date>2023-05-12T06:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1295383#M10157</link>
      <description>&lt;P&gt;There is a workaround, if you go in ArcGIS Online, in Map Classic and Edit the data you need, you can access the Manage New Feature menu where you can access the properties of every item. There, you can add a default value or change it.&lt;/P&gt;&lt;P&gt;I Just don't know how to force the date into a today() formula...&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 14:38:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1295383#M10157</guid>
      <dc:creator>Louis-PhilippeRodier</dc:creator>
      <dc:date>2023-06-02T14:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1314911#M10349</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/287376"&gt;@Louis-PhilippeRodier&lt;/a&gt;&amp;nbsp;you're a legend! It worked&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 13:07:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1314911#M10349</guid>
      <dc:creator>tiztrain</dc:creator>
      <dc:date>2023-08-03T13:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1315986#M10356</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/449577"&gt;@tiztrain&lt;/a&gt;, I know! It's nice when things work out!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 23:38:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1315986#M10356</guid>
      <dc:creator>Louis-PhilippeRodier</dc:creator>
      <dc:date>2024-01-23T23:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1317118#M10373</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/287376"&gt;@Louis-PhilippeRodier&lt;/a&gt;&amp;nbsp;How did you achieve this in map viewer classic? I want to make NC the default value of this layer called scan layer, specifically the Status field of the layer. I followed your instruction via map viewer classic and went into the properties but do not see an option to assign NC as a default value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ColinKelly97_2-1691611080884.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77715iFFC721728FC5C980/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ColinKelly97_2-1691611080884.png" alt="ColinKelly97_2-1691611080884.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ColinKelly97_0-1691610917980.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77713iECDF95A2D2712D5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ColinKelly97_0-1691610917980.png" alt="ColinKelly97_0-1691610917980.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ColinKelly97_1-1691610984435.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77714iA6A6A31DD1728192/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ColinKelly97_1-1691610984435.png" alt="ColinKelly97_1-1691610984435.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 19:58:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1317118#M10373</guid>
      <dc:creator>ColinKelly97</dc:creator>
      <dc:date>2023-08-09T19:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1329740#M10497</link>
      <description>&lt;P&gt;The easiest way I've found to update the default value (or coded domains) is using the arcgis Python API. Something like this, exported from an ArcGIS hosted notebook (split into cells as you see fit).&lt;/P&gt;&lt;P&gt;This is a generic/pared-down example where I was setting the default value for a specific field with a string-type coded value in a table. You could do this for one or more fields in a layer too.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note on coded domains:&lt;/STRONG&gt; If you created the domain ("list") through ArcGIS Online, the name will have a GUID in it. To find the full name, take a look at the JSON for the service URL of the layer/table you're using.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit:&lt;/STRONG&gt; I forgot to account for updating the template as well. This addition will also loop through any views of the hosted feature layer and update their templates for the field.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit 2:&lt;/STRONG&gt; Corrected missing update_dict declaration. Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/187947"&gt;@AndyFairbairn&lt;/a&gt;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# Import required libraries
from arcgis.gis import *
from arcgis.features import FeatureLayer, FeatureLayerCollection
from IPython.display import display

# Set GIS and display current user
gis = GIS("home")
user = gis.users.me

print("Current User: \n")
user

## Get Data Collection Layer
item_collection_layer = gis.content.get('your_item_ID')
flc_data_collection = FeatureLayerCollection(item_collection_layer.url, gis)
flc_data_collection

### Review layers
print('Layers: \n')
for index_val, lyr in enumerate(flc_data_collection.layers):
    name = lyr.properties.name
    print(index_val, '-', name)

### Review tables
print('Tables: \n')
for index_val, tbl in enumerate(flc_data_collection.tables):
    print(index_val, '-', tbl.properties.name)

### Assign table of interest
tbl_to_update = flc_data_collection.tables[0]
print('tbl_to_update set to:', tbl_to_update.properties.name)

## Field definition(s) for updating
## Make sure your type and other parameters are correct for your field.
field_to_update = {
      "name" : "field_name", 
      "type" : "esriFieldTypeString", 
      "alias" : "Field Alias", 
      "sqlType" : "sqlTypeOther", 
      "length" : 256, 
      "nullable" : True, 
      "editable" : True, 
      "domain" : 
      {
        "type" : "codedValue", 
        "name" : "domain_name_from_json_view_of_table", 
        "codedValues" : [
          {
            "name" : "Coded Value 1", 
            "code" : "coded_value_1"
          }, 
          {
            "name" : "Coded Value 2", 
            "code" : "coded_value_2"
          }
        ]
      }, 
      "defaultValue" : "coded_value_1"
    }

## Update field(s)
## If you need to update multiple fields at once, define them all above and pass them all into the list for `update_dict`

update_dict = {"fields": [field_to_update]}

tbl_to_update.manager.update_definition(update_dict)

## Template definition(s) for updating

template_tbl_to_update = {
    "name" : "Table Name", 
    "description" : "", 
    "drawingTool" : "esriFeatureEditToolNone", 
    "prototype" : {
        "attributes" : {
            "field_name" : "coded_value_1", 
            "notes" : None
        }
    }
}

## Update template(s)
source_item = item_collection_layer
view_items = source_item.related_items(rel_type="Service2Service", direction="forward")

list_tbl_to_update = [tbl_to_update]

for view_item in view_items:
    list_tbl_to_update.append(FeatureLayerCollection(view_item.url, gis).tables[0])

print('Tables to update:')

for tbl in list_tbl_to_update:
    print(tbl, '(' + tbl.properties.name + ')')

### Update
update_dict = {"templates": [template_tbl_to_update]}

for tbl in tbl_to_update:
    update = tbl.manager.update_definition(update_dict)
    display(tbl)
    print('Status:', update)
    print('===' * 10)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 16:09:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1329740#M10497</guid>
      <dc:creator>JosephAlberts</dc:creator>
      <dc:date>2023-09-21T16:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1330929#M10506</link>
      <description>&lt;P&gt;Hi Joseph, thanks for this approach it's a really useful suggestion for me.&lt;/P&gt;&lt;P&gt;I think you might be missing a line after your template dictionary? Something like:&lt;/P&gt;&lt;P&gt;update_dict = {"templates": [template_tbl_to_update]}&lt;/P&gt;&lt;P&gt;Or something like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;## Template definition(s) for updating

template_to_update = {
    "name" : "Template Name", 
    "description" : "", 
    "drawingTool" : "esriFeatureEditToolNone", 
    "prototype" : {
        "attributes" : {
            "field_name" : "coded_value_1", 
            "notes" : None
        }
    }
}

update_dict = {"templates": [template_to_update]}&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 21 Sep 2023 05:51:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1330929#M10506</guid>
      <dc:creator>AndyFairbairn</dc:creator>
      <dc:date>2023-09-21T05:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1331132#M10514</link>
      <description>&lt;P&gt;Yup, you're absolutely right&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/187947"&gt;@AndyFairbairn&lt;/a&gt;! Thanks for the catch.&lt;/P&gt;&lt;P&gt;That's what I get for trying to slice up a larger notebook with just the relevant pieces.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":upside_down_face:"&gt;🙃&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 16:11:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1331132#M10514</guid>
      <dc:creator>JosephAlberts</dc:creator>
      <dc:date>2023-09-21T16:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1373470#M10840</link>
      <description>&lt;P&gt;I would also like to be able to change the default value just by clicking on a drop down menu in ArcGIS Online.&lt;/P&gt;&lt;P&gt;For my use case the default value is the current year, so it was 2023 and I needed to make it 2024.&lt;/P&gt;&lt;P&gt;As a work around I created a new year column in ArcGIS Online, pulled the hosted feature layer into ArcPro, field calculated over the values from the old year column to the new year column, then deleted the old year column. Next I set the default value to 2024.&lt;/P&gt;&lt;P&gt;Then I had to go into map viewer, web app builder and field maps and reconfigure the pop-up windows and filters to all use the new year column.&lt;/P&gt;&lt;P&gt;This took about an hour to make all of these changes and to check that everything was working. I also had our field staff remove their offline areas in field maps and re download them, so it took their time too.&lt;/P&gt;&lt;P&gt;It would be nice in 2025 to be able to just change the default value to 2025 using a drop down menu in the field settings screen. Then I wouldn't have to reconfigure all of my apps.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 15:51:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1373470#M10840</guid>
      <dc:creator>L77</dc:creator>
      <dc:date>2024-01-23T15:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1373723#M10845</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/683198"&gt;@ColinKelly97&lt;/a&gt;&amp;nbsp;, it seems that you are using the default value for you symbology, hence the non availability to change the default value. If you use display location only, you won't have that problem.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Jan 2024 23:42:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1373723#M10845</guid>
      <dc:creator>Louis-PhilippeRodier</dc:creator>
      <dc:date>2024-01-23T23:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Allow Default Value to be removed or changed in Hosted Feature Service Field View</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1373727#M10846</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/562438"&gt;@L77&lt;/a&gt;, do you mean that the default is also the symbology? Cause if you have drop down menus in the feature layer, you should see the drop down menu in the default option.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LouisPhilippeRodier_0-1706053529396.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92592i3110B68051B091E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LouisPhilippeRodier_0-1706053529396.png" alt="LouisPhilippeRodier_0-1706053529396.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 23:45:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/allow-default-value-to-be-removed-or-changed-in/idc-p/1373727#M10846</guid>
      <dc:creator>Louis-PhilippeRodier</dc:creator>
      <dc:date>2024-01-23T23:45:38Z</dc:date>
    </item>
  </channel>
</rss>

