<?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: FeatureSet toJson in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featureset-tojson/m-p/699721#M4911</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Andy, I'll log a ticket.&amp;nbsp; I guess I'm not sure where to log it, could you point me in the right direction?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My workaround is just to pump the features geometry back into the feature set with the edited attributes and write that to json, then when the user is ready to apply edits to the service, I strip out the geometry and just apply the attribute edits.&amp;nbsp; It works well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jan 2013 14:33:24 GMT</pubDate>
    <dc:creator>MilesWacker</dc:creator>
    <dc:date>2013-01-25T14:33:24Z</dc:date>
    <item>
      <title>FeatureSet toJson</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featureset-tojson/m-p/699719#M4909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The application I'm working on captures the users attribute edits in a graphic object that is then pushed into a FeatureSet.&amp;nbsp; Then that FeatureSet is converted to JSON using FeatureSet.toJson method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I have a FeatureSet with no Geometry, the method returns a null pointer exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But if there is a geometry in there it has no problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is is going on?&amp;nbsp; Shouldn't the FeatureSet.toJson method work even if I do not have geometry?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My current workaround is to pass in the existing geometry, but that seems totally inefficient, when I send the updates it will send the geometry and attributes, all I need to send is the attribute updates...&amp;nbsp; I guess I'll need another workaround to pull only the attributes to that featureSet before it is pushed to the server.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 16:19:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featureset-tojson/m-p/699719#M4909</guid>
      <dc:creator>MilesWacker</dc:creator>
      <dc:date>2013-01-24T16:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureSet toJson</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featureset-tojson/m-p/699720#M4910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree that doesn't sound right. If there's no geometry I thought the featureSet would be treated as a Table. My recommendation is for you to open a support ticket to get the issue logged.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a temporary work-around maybe you can assign a mock geometry to the Graphic and then flag it with a boolean attribute that let's your code know it's using a mock geometry...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 17:45:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featureset-tojson/m-p/699720#M4910</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2013-01-24T17:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureSet toJson</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featureset-tojson/m-p/699721#M4911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Andy, I'll log a ticket.&amp;nbsp; I guess I'm not sure where to log it, could you point me in the right direction?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My workaround is just to pump the features geometry back into the feature set with the edited attributes and write that to json, then when the user is ready to apply edits to the service, I strip out the geometry and just apply the attribute edits.&amp;nbsp; It works well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 14:33:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/featureset-tojson/m-p/699721#M4911</guid>
      <dc:creator>MilesWacker</dc:creator>
      <dc:date>2013-01-25T14:33:24Z</dc:date>
    </item>
  </channel>
</rss>

