<?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: Feature.applyedits(update) where can I get Unique ID of Graphics? in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/feature-applyedits-update-where-can-i-get-unique/m-p/13405#M60</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gianni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It depends on what you are really trying to do. Are you really trying to update the feature in the feature layer? Or are you really working with graphic elements in a GraphicsLayer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are really trying to update the geometry of a feature in a feature layer, you may want to use the editing tools in the toolkit. You can find an example of how to do this here: &lt;A href="https://developers.arcgis.com/java/sample-code/online-editing/" title="https://developers.arcgis.com/java/sample-code/online-editing/"&gt;Online editing | ArcGIS for Developers&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For getting the graphic IDs from a GraphicsLayer, you can call getGraphicIDs() on your GraphicsLayer to get all the IDs, or you can call getGraphicIDs(x,y,pixel_tolerance,number_of_results) to locate a specific graphic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 Oct 2015 19:16:59 GMT</pubDate>
    <dc:creator>EricBader</dc:creator>
    <dc:date>2015-10-17T19:16:59Z</dc:date>
    <item>
      <title>Feature.applyedits(update) where can I get Unique ID of Graphics?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/feature-applyedits-update-where-can-i-get-unique/m-p/13404#M59</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a featureLayer from a server arcgis 10.2.2.&lt;/SPAN&gt;&lt;DIV&gt;I have to update a Graphic from the layer, and&amp;nbsp;I need the unique ID in order to pick the graphic by getGraphic (id).&lt;/DIV&gt;&lt;DIV&gt;Where is stored the ID to pass to method?&lt;/DIV&gt;&lt;DIV&gt;Thanx&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 12:31:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/feature-applyedits-update-where-can-i-get-unique/m-p/13404#M59</guid>
      <dc:creator>GianniContino</dc:creator>
      <dc:date>2015-10-14T12:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Feature.applyedits(update) where can I get Unique ID of Graphics?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/feature-applyedits-update-where-can-i-get-unique/m-p/13405#M60</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gianni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It depends on what you are really trying to do. Are you really trying to update the feature in the feature layer? Or are you really working with graphic elements in a GraphicsLayer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are really trying to update the geometry of a feature in a feature layer, you may want to use the editing tools in the toolkit. You can find an example of how to do this here: &lt;A href="https://developers.arcgis.com/java/sample-code/online-editing/" title="https://developers.arcgis.com/java/sample-code/online-editing/"&gt;Online editing | ArcGIS for Developers&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For getting the graphic IDs from a GraphicsLayer, you can call getGraphicIDs() on your GraphicsLayer to get all the IDs, or you can call getGraphicIDs(x,y,pixel_tolerance,number_of_results) to locate a specific graphic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Oct 2015 19:16:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/feature-applyedits-update-where-can-i-get-unique/m-p/13405#M60</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2015-10-17T19:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Feature.applyedits(update) where can I get Unique ID of Graphics?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/feature-applyedits-update-where-can-i-get-unique/m-p/13406#M61</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Eric,&lt;/SPAN&gt;&lt;DIV&gt;I have another problem.&lt;/DIV&gt;&lt;DIV&gt;I hope you are able to help me.&lt;/DIV&gt;&lt;DIV&gt;I have a FeatureLayer from an URL of service on ArcGIS Server.&lt;/DIV&gt;&lt;DIV&gt;I'm able to create new feature by applyEdits method, but NOT TO UPDATE GEOMETRY of existing feature by the same method.&lt;/DIV&gt;&lt;DIV&gt;In fact the method myFeatureLayer.isAllowGeometryUpdates () give me FALSE.&lt;/DIV&gt;&lt;DIV&gt;Where can I set this capability in the layer manager of server?&lt;/DIV&gt;&lt;DIV&gt;Feature Service is enabled to Create, Query, &amp;nbsp;Delete, Update but in java sdk the geometry doesn't change.&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;Gianni&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 18:17:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/feature-applyedits-update-where-can-i-get-unique/m-p/13406#M61</guid>
      <dc:creator>GianniContino</dc:creator>
      <dc:date>2015-10-27T18:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Feature.applyedits(update) where can I get Unique ID of Graphics?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/feature-applyedits-update-where-can-i-get-unique/m-p/13407#M62</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This property gets applied (true or false) when you configure properties for the FeatureService. You can read more about how to do this here &lt;A href="http://server.arcgis.com/en/server/latest/publish-services/linux/editor-permissions-for-feature-services.htm#ESRI_SECTION1_B606715B523447F6B3DC2F807EBDB488" title="http://server.arcgis.com/en/server/latest/publish-services/linux/editor-permissions-for-feature-services.htm#ESRI_SECTION1_B606715B523447F6B3DC2F807EBDB488"&gt;Editor permissions for feature services—Documentation (10.3 and 10.3.1) | ArcGIS for Server&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If right now this is reporting FALSE, this means it was set as FALSE when the FeatureService was initially created. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 04:30:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/feature-applyedits-update-where-can-i-get-unique/m-p/13407#M62</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2015-10-28T04:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Feature.applyedits(update) where can I get Unique ID of Graphics?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/feature-applyedits-update-where-can-i-get-unique/m-p/13408#M63</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot, Eric. But I still haven't solved the issue.&lt;/SPAN&gt;&lt;DIV&gt;when I published the layer i did check the flags on Allow Geometry Updates, but from java application the method isAllowGeometryUpdates() continues to return false and I can't update geometries.&lt;/DIV&gt;&lt;DIV&gt;I read that this method is deprecated. Maybe i should use canUpdateGeometry() instead but it is only to check the capability and i should have always the problem.&lt;/DIV&gt;&lt;DIV&gt;What about for you?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 07:27:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/feature-applyedits-update-where-can-i-get-unique/m-p/13408#M63</guid>
      <dc:creator>GianniContino</dc:creator>
      <dc:date>2015-10-28T07:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Feature.applyedits(update) where can I get Unique ID of Graphics?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/feature-applyedits-update-where-can-i-get-unique/m-p/13409#M64</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is strange.&lt;/P&gt;&lt;P&gt;How did you publish the feature service? From ArcMap?&lt;/P&gt;&lt;P&gt;Where is the data coming from for your feature service?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 21:40:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/feature-applyedits-update-where-can-i-get-unique/m-p/13409#M64</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2015-11-02T21:40:59Z</dc:date>
    </item>
  </channel>
</rss>

