<?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: Local Feature attribute editing java 10.2.4 in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/local-feature-attribute-editing-java-10-2-4/m-p/231281#M646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you examine and implement these samples:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/java/10-2/sample-code/offline-editing-workflow/" title="https://developers.arcgis.com/java/10-2/sample-code/offline-editing-workflow/"&gt;Offline editing workflow | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/java/10-2/sample-code/feature-attribute-editing/" title="https://developers.arcgis.com/java/10-2/sample-code/feature-attribute-editing/"&gt;Feature attribute editing | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Dec 2016 06:15:47 GMT</pubDate>
    <dc:creator>nita14</dc:creator>
    <dc:date>2016-12-16T06:15:47Z</dc:date>
    <item>
      <title>Local Feature attribute editing java 10.2.4</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/local-feature-attribute-editing-java-10-2-4/m-p/231280#M645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The java 10.2.4 SDK has an excellent sample on how to edit features from a online feature service but I have not been able to do the same on a local feature from a .geodatabase. The trouble I run into is creating a graphics layer from the local feature. I can get the hit test to work but not any kind of attribute editing. The goal is to edit a local layer and then have it sync up to the cloud. Because of the areas where this application is running, I had to develop the application to be "offline first" and much of the example code is the opposite, but I am slowly and shurely getting there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas or direction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added a simple code file. If you change the geodatabase path the code should render the 0 layer. The line I am having a problem with is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//contentPanel.setFeature(damageLayer, (GeodatabaseFeatureTable) damageLayer.getFeatureTable(), hitFeature);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More specifically, the setFeature method has an error when I put the hit feature argument in. What is wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2016 16:38:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/local-feature-attribute-editing-java-10-2-4/m-p/231280#M645</guid>
      <dc:creator>thomasbales</dc:creator>
      <dc:date>2016-12-15T16:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Local Feature attribute editing java 10.2.4</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/local-feature-attribute-editing-java-10-2-4/m-p/231281#M646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you examine and implement these samples:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/java/10-2/sample-code/offline-editing-workflow/" title="https://developers.arcgis.com/java/10-2/sample-code/offline-editing-workflow/"&gt;Offline editing workflow | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/java/10-2/sample-code/feature-attribute-editing/" title="https://developers.arcgis.com/java/10-2/sample-code/feature-attribute-editing/"&gt;Feature attribute editing | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 06:15:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/local-feature-attribute-editing-java-10-2-4/m-p/231281#M646</guid>
      <dc:creator>nita14</dc:creator>
      <dc:date>2016-12-16T06:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Local Feature attribute editing java 10.2.4</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/local-feature-attribute-editing-java-10-2-4/m-p/231282#M647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I will try and programmatically modify a local attribute today and see where it goes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 14:06:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/local-feature-attribute-editing-java-10-2-4/m-p/231282#M647</guid>
      <dc:creator>thomasbales</dc:creator>
      <dc:date>2016-12-16T14:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Local Feature attribute editing java 10.2.4</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/local-feature-attribute-editing-java-10-2-4/m-p/231283#M648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I know where I am getting hung up. Looking at &lt;EM&gt;Editing using a toolkit&lt;/EM&gt; there is a reference to using the PopupView on a geodatabase layer. However, I don't know when &lt;STRONG&gt;feature &lt;/STRONG&gt;is at the end of the setFeature method. Using PopupView was a no brainer for an online ArcGISFeatureLayer, but I have been banging my head for days on how to edit a local layer when I start in a disconnected environment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So what is feature? This has to something simple that I am missing. The solution is to create this pop up on a local layer. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// for a FeatureLayer&lt;/SPAN&gt;&lt;BR /&gt;PopupView contentPanel = PopupView.createEditView(&lt;SPAN&gt;"Edit Attributes"&lt;/SPAN&gt;, featureLayer);&lt;BR /&gt;&lt;SPAN&gt;// set layer, geodatabase feature table, and feature - edits take place on the feature table&lt;/SPAN&gt;&lt;BR /&gt;contentPanel.setFeature(featureLayer, (GeodatabaseFeatureTable) featureLayer.getFeatureTable(), feature);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 15:34:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/local-feature-attribute-editing-java-10-2-4/m-p/231283#M648</guid>
      <dc:creator>thomasbales</dc:creator>
      <dc:date>2016-12-16T15:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Local Feature attribute editing java 10.2.4</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/local-feature-attribute-editing-java-10-2-4/m-p/231284#M649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adam, I am not sure exactly what was wrong but this link &lt;A href="http://www.esri.com/videos/watch?videoid=4416&amp;amp;channelid=LegacyVideo&amp;amp;isLegacy=true&amp;amp;title=arcgis-runtime-sdk-for-java---advanced-topics"&gt;http://www.esri.com/videos/watch?videoid=4416&amp;amp;channelid=LegacyVideo&amp;amp;isLegacy=true&amp;amp;title=arcgis-runtime-sdk-for-java---advanced-topics&lt;/A&gt;&amp;nbsp;explained most the offline to offline patterns and using the demo code I was able to get everything I needed to work including the sync on one of my secure AGOL layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Dec 2016 19:09:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/local-feature-attribute-editing-java-10-2-4/m-p/231284#M649</guid>
      <dc:creator>thomasbales</dc:creator>
      <dc:date>2016-12-17T19:09:04Z</dc:date>
    </item>
  </channel>
</rss>

