<?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: Can't add polygon to database by using featureservice in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-polygon-to-database-by-using/m-p/494931#M45975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There was an error in my json call.&lt;/P&gt;&lt;P&gt;The call down here works:&lt;/P&gt;&lt;P&gt;[{'attributes' : { 'CREATEDDATE' : 1436187370959 },'geometry' : { 'rings' : [[[137164.796043877, 455702.896752285] , [137240.64953067, 455589.829998068] , [137219.994969344, 455604.97807081] , [137200.595781227, 455622.946483652] , [137182.247572909, 455646.363375177] , [137164.796043877, 455702.896752285] ]],'SpatialReference' : {'wkid' :28992}}]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jul 2015 13:07:48 GMT</pubDate>
    <dc:creator>Edwin_devvan</dc:creator>
    <dc:date>2015-07-06T13:07:48Z</dc:date>
    <item>
      <title>Can't add polygon to database by using featureservice</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-polygon-to-database-by-using/m-p/494928#M45972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a simple featureservice. It has 1 property (CreatedDate) and the Esri Objectid and Shape field.&lt;/P&gt;&lt;P&gt;When I try to add a polygon to the database, the featureservice says:&lt;/P&gt;&lt;P&gt;{"addResults": [{&lt;/P&gt;&lt;P&gt; "objectId": 421,&lt;/P&gt;&lt;P&gt; "success": true&lt;/P&gt;&lt;P&gt;}]}&lt;/P&gt;&lt;P&gt;But when I look into the database, the value in the Shape column for the added record is NULL.&lt;/P&gt;&lt;P&gt;Down below my request, can anybody tell me what I'm doing wrong? (Probably not adding the polygon on the right way).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[{'attributes' : { 'CREATEDDATE' : 1436184185219 },'Polygon' : [ [-15541078.5927309, 6646598.13857541] , [-15540816.6594851, 6646419.36433993] , [-15540863.4932682, 6646428.53844409] , [-15540899.4300938, 6646438.23803815] , [-15540929.7262393, 6646448.56531881] , [-15540956.4176793, 6646459.66064806] , [-15540980.5485856, 6646471.7261012] , [-15541002.7392441, 6646485.0718212] , [-15541023.3938054, 6646500.21989394] , [-15541042.7929935, 6646518.18830678] , [-15541061.1412019, 6646541.60519831] , [-15541078.5927309, 6646598.13857541] ],'SpatialReference' : {'wkid' :28992}}]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 12:13:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-polygon-to-database-by-using/m-p/494928#M45972</guid>
      <dc:creator>Edwin_devvan</dc:creator>
      <dc:date>2015-07-06T12:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can't add polygon to database by using featureservice</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-polygon-to-database-by-using/m-p/494929#M45973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Edwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are you adding the polygon to the feature service?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 12:37:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-polygon-to-database-by-using/m-p/494929#M45973</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2015-07-06T12:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can't add polygon to database by using featureservice</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-polygon-to-database-by-using/m-p/494930#M45974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By calling the Post Method on de AddFeatures url. It works for the point feature service but not for the polygon feature service.&lt;/P&gt;&lt;P&gt;Also using the service interface on &lt;A href="http://server:6080/arcgis/rest/services/Test/Test/FeatureServer/0/addFeatures" title="http://server:6080/arcgis/rest/services/Test/Test/FeatureServer/0/addFeatures"&gt;http://server:6080/arcgis/rest/services/Test/Test/FeatureServer/0/addFeatures&lt;/A&gt; gives the same output as my call in C#.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 13:05:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-polygon-to-database-by-using/m-p/494930#M45974</guid>
      <dc:creator>Edwin_devvan</dc:creator>
      <dc:date>2015-07-06T13:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can't add polygon to database by using featureservice</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-polygon-to-database-by-using/m-p/494931#M45975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There was an error in my json call.&lt;/P&gt;&lt;P&gt;The call down here works:&lt;/P&gt;&lt;P&gt;[{'attributes' : { 'CREATEDDATE' : 1436187370959 },'geometry' : { 'rings' : [[[137164.796043877, 455702.896752285] , [137240.64953067, 455589.829998068] , [137219.994969344, 455604.97807081] , [137200.595781227, 455622.946483652] , [137182.247572909, 455646.363375177] , [137164.796043877, 455702.896752285] ]],'SpatialReference' : {'wkid' :28992}}]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 13:07:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-add-polygon-to-database-by-using/m-p/494931#M45975</guid>
      <dc:creator>Edwin_devvan</dc:creator>
      <dc:date>2015-07-06T13:07:48Z</dc:date>
    </item>
  </channel>
</rss>

