<?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 Cannot JSON encode graphic to use in addFeature call in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/cannot-json-encode-graphic-to-use-in-addfeature/m-p/257711#M1253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is probably the wrong forum, but....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a basic app the lets user draw a graphic on the screen; tack on some attributes; and submit to the server using addfeature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having problems generating the json post object from the graphic. I can convert the graphic to a json object, but the server doesn't accept this format. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2012 22:35:30 GMT</pubDate>
    <dc:creator>JohnGarvey</dc:creator>
    <dc:date>2012-08-23T22:35:30Z</dc:date>
    <item>
      <title>Cannot JSON encode graphic to use in addFeature call</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/cannot-json-encode-graphic-to-use-in-addfeature/m-p/257711#M1253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is probably the wrong forum, but....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a basic app the lets user draw a graphic on the screen; tack on some attributes; and submit to the server using addfeature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having problems generating the json post object from the graphic. I can convert the graphic to a json object, but the server doesn't accept this format. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 22:35:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/cannot-json-encode-graphic-to-use-in-addfeature/m-p/257711#M1253</guid>
      <dc:creator>JohnGarvey</dc:creator>
      <dc:date>2012-08-23T22:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot JSON encode graphic to use in addFeature call</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/cannot-json-encode-graphic-to-use-in-addfeature/m-p/257712#M1254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;addFeatures requires an array of &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/rest/apiref/feature.html"&gt;feature object &lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2012 17:15:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/cannot-json-encode-graphic-to-use-in-addfeature/m-p/257712#M1254</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2012-08-27T17:15:56Z</dc:date>
    </item>
  </channel>
</rss>

