<?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>topic Setting numeric attribute value to null in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/setting-numeric-attribute-value-to-null/m-p/358601#M33230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm working on an editing application where I need to allow the user to set a numeric attribute field to null through an attribute inspector.&amp;nbsp; So far setting multiple text fields to "" works without any issues however when I try to set the field value to null using the following code it doesn't stick.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;featureIn.attributes[fieldName] = null;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I have this code in the "onAttributeChange" event.&amp;nbsp; This works with any number but not "null".&amp;nbsp; Any suggestions?&amp;nbsp; Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Sep 2013 03:36:45 GMT</pubDate>
    <dc:creator>JesseAdams</dc:creator>
    <dc:date>2013-09-10T03:36:45Z</dc:date>
    <item>
      <title>Setting numeric attribute value to null</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/setting-numeric-attribute-value-to-null/m-p/358601#M33230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm working on an editing application where I need to allow the user to set a numeric attribute field to null through an attribute inspector.&amp;nbsp; So far setting multiple text fields to "" works without any issues however when I try to set the field value to null using the following code it doesn't stick.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;featureIn.attributes[fieldName] = null;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I have this code in the "onAttributeChange" event.&amp;nbsp; This works with any number but not "null".&amp;nbsp; Any suggestions?&amp;nbsp; Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 03:36:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/setting-numeric-attribute-value-to-null/m-p/358601#M33230</guid>
      <dc:creator>JesseAdams</dc:creator>
      <dc:date>2013-09-10T03:36:45Z</dc:date>
    </item>
  </channel>
</rss>

