<?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 Re: update field with null in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-field-with-null/m-p/607243#M2912</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gregg, Esri fixed this problem in ArcGIS Server 10.3 (im not sure about 10.2). In the current Version you can write (insert) "null" in REST and its accepted as NULL in the geodatabase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NaN is not the same as NULL, you can use the String "NaN" in the ReST Service (ArcGIS Server 10.?, im not sure about since) to write a Not a Number in the DB-Field. This is a good workarround for some cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jan 2015 07:49:26 GMT</pubDate>
    <dc:creator>CesarRevilla</dc:creator>
    <dc:date>2015-01-29T07:49:26Z</dc:date>
    <item>
      <title>update field with null</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-field-with-null/m-p/607240#M2909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The REST API (10.1) ignores the null updates.&lt;/P&gt;&lt;P&gt;Here the update string:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;[&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "geometry":null, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "attributes":{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "OBJECTID":683&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 1.5;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "STATUS_ID":"371f2a16",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "LOAD":0,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "VALUE":null,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "DESC":""&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 1.5;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 1.5;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 1.5;"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VALUE is nullable and before the update VALUE is equals 20.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After a successful update VALUE is still 20.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(The FeatureLayr.Fields[Field].nullable is setted to true and the Geodatabase is connected through SDE.)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know a solution to set a &amp;lt;null&amp;gt; in VALUE?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 15:19:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-field-with-null/m-p/607240#M2909</guid>
      <dc:creator>CesarRevilla</dc:creator>
      <dc:date>2014-08-12T15:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: update field with null</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-field-with-null/m-p/607241#M2910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is this a replicable Problem? or is only a problem in my Rest Server and my Database?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 09:00:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-field-with-null/m-p/607241#M2910</guid>
      <dc:creator>CesarRevilla</dc:creator>
      <dc:date>2014-08-15T09:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: update field with null</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-field-with-null/m-p/607242#M2911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you find the solution? There is barely any mention of this issue in the forums. In Flex API forum is a post of the same problem. ESRI response says it will be fixed in the next release(?) and mentions a workaround of setting the value to Number.NaN. I don't know to what that translates in the JSON update string. It would be odd for the Server REST API to know how to handle "VALUE":NaN (???), but not know how to handle the typical "VALUE":null.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 17:11:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-field-with-null/m-p/607242#M2911</guid>
      <dc:creator>GreggCornetski</dc:creator>
      <dc:date>2015-01-28T17:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: update field with null</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-field-with-null/m-p/607243#M2912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gregg, Esri fixed this problem in ArcGIS Server 10.3 (im not sure about 10.2). In the current Version you can write (insert) "null" in REST and its accepted as NULL in the geodatabase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NaN is not the same as NULL, you can use the String "NaN" in the ReST Service (ArcGIS Server 10.?, im not sure about since) to write a Not a Number in the DB-Field. This is a good workarround for some cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 07:49:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-field-with-null/m-p/607243#M2912</guid>
      <dc:creator>CesarRevilla</dc:creator>
      <dc:date>2015-01-29T07:49:26Z</dc:date>
    </item>
  </channel>
</rss>

