<?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: FeatureLayer.applyEdits not working sometimes... in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144168#M13416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are having many ESRI Online feature services, which is open to the world. Any one can edit the features and those feature services are not versioned. PFB some links&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer/9" title="https://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer/9"&gt;Layer: Areas (ID: 9)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fsampleserver6.arcgisonline.com%2Farcgis%2Frest%2Fservices%2FMilitary%2FFeatureServer%2F8" rel="nofollow" target="_blank"&gt;https://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer/8&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer/6"&gt;https://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer/6&lt;/A&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Sep 2016 14:05:40 GMT</pubDate>
    <dc:creator>ShaikhRizuan</dc:creator>
    <dc:date>2016-09-09T14:05:40Z</dc:date>
    <item>
      <title>FeatureLayer.applyEdits not working sometimes...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144160#M13408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having an application developed in WAB, Where we have customized an identify widget to push the data to feature service after identifying the layer on map. There will be multiple users who will be updating the feature service.&amp;nbsp; I am using&amp;nbsp;FeatureLayer.applyEdits() method to update/&lt;SPAN&gt;insert /delete&lt;/SPAN&gt; the feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes we could able to update/insert /delete the features&amp;nbsp;in features service from application and sometimes it shows processing image in application for long time and there is no error logged in console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are having data in SQL server DB and ArcGIS 10.3. The features classes in DB are not versioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me to get this solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shaikh Rizuan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 04:32:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144160#M13408</guid>
      <dc:creator>ShaikhRizuan</dc:creator>
      <dc:date>2016-09-08T04:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer.applyEdits not working sometimes...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144161#M13409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Shaikh,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp;If there are no errors in the browsers web console then have you checked your ArcGIS Server logs for any errors?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 12:51:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144161#M13409</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-09-08T12:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer.applyEdits not working sometimes...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144162#M13410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;when i checked in the logs, there were no errors found. PFB image for the same&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Server Log" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/223724_ServerLog.png" style="width: 620px; height: 348px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me to resolve this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 10:33:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144162#M13410</guid>
      <dc:creator>ShaikhRizuan</dc:creator>
      <dc:date>2016-09-09T10:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer.applyEdits not working sometimes...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144163#M13411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shaikh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;If there are no error then I can not help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 12:55:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144163#M13411</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-09-09T12:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer.applyEdits not working sometimes...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144164#M13412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i am trying to replicate the same attributes to the newGEometry, it is coming to "Edit Complete" Event only when there is any wrong attribute value. Like if i didn't include OBJECTID field to the array, it will go to "EditComplete" event. When i include OBJECTID, it will update the feature in background but not going to "EditComplete" event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the code&lt;/P&gt;&lt;P&gt;attr["APPLICATION_STATUS"] = existingFeature.attributes["APPLICATION_STATUS"];&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;....&lt;BR /&gt; attr["GIS_SITE_ID"] = existingFeature.attributes["GIS_SITE_ID"]; &lt;BR /&gt; newUGraphics.setAttributes(attr); &lt;BR /&gt; newUFeatureLayer.applyEdits(null,[newUGraphics],null);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 13:16:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144164#M13412</guid>
      <dc:creator>ShaikhRizuan</dc:creator>
      <dc:date>2016-09-09T13:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer.applyEdits not working sometimes...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144165#M13413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Shaikh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The information provided by you is insufficient. You are just sharing a code where you are calling applyEdits. We are not sure how your edit-complete event is setup. Also are you listening for error event? Is there any error there or in the console. It would be really helpful if you could setup as jsfiddler, where we can see the behaviour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Thejus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 13:31:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144165#M13413</guid>
      <dc:creator>thejuskambi</dc:creator>
      <dc:date>2016-09-09T13:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer.applyEdits not working sometimes...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144166#M13414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For feature service use for edit or modification need to have versioned layers..&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://server.arcgis.com/en/server/latest/publish-services/linux/what-is-a-feature-service-.htm" title="http://server.arcgis.com/en/server/latest/publish-services/linux/what-is-a-feature-service-.htm"&gt;What is a feature service?—Documentation | ArcGIS for Server&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 13:32:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144166#M13414</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-09-09T13:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer.applyEdits not working sometimes...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144167#M13415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thejus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In WAB add the draw widget and replace those 3 files:&lt;/P&gt;&lt;P&gt;1) Widget.js&lt;/P&gt;&lt;P&gt;2) Widget.html&lt;/P&gt;&lt;P&gt;3) strings.js (in nls folder)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, here you might need to change the URL and attributes. On map load i am searching a feature and drawing that graphics on map and from draw widget,&amp;nbsp;user will draw the polygon and update the feature geometry for the feature which has been show as graphics on map load.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 13:47:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144167#M13415</guid>
      <dc:creator>ShaikhRizuan</dc:creator>
      <dc:date>2016-09-09T13:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer.applyEdits not working sometimes...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144168#M13416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are having many ESRI Online feature services, which is open to the world. Any one can edit the features and those feature services are not versioned. PFB some links&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer/9" title="https://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer/9"&gt;Layer: Areas (ID: 9)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fsampleserver6.arcgisonline.com%2Farcgis%2Frest%2Fservices%2FMilitary%2FFeatureServer%2F8" rel="nofollow" target="_blank"&gt;https://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer/8&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer/6"&gt;https://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer/6&lt;/A&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 14:05:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144168#M13416</guid>
      <dc:creator>ShaikhRizuan</dc:creator>
      <dc:date>2016-09-09T14:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer.applyEdits not working sometimes...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144169#M13417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried in ArcGIS online and able to edit / modify feature without any error.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Sep 2016 04:54:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144169#M13417</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-09-10T04:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer.applyEdits not working sometimes...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144170#M13418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, i am also able to update the feature without any error, But after update of feature, it is not coming to "EditComplete" event for this&amp;nbsp;service:&lt;A class="link-titled" href="https://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer/9" title="https://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer/9"&gt;Layer: Areas (ID: 9)&lt;/A&gt;&amp;nbsp;. So, how do i know whether the feature has been updated or not ???&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am selecting the feature by drawing graphics on the map load and then draw a graphics from draw &lt;SPAN&gt;widget t&lt;/SPAN&gt;ool and update the geometry with the graphics made by draw widget:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var newUFeatureLayer = new FeatureLayer("&lt;A class="jivelink3" href="https://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer/9" title="https://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer/9"&gt;https://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer/9&lt;/A&gt;"&amp;nbsp;);&lt;BR /&gt; newUFeatureLayer.on("edits-complete", function(evt) {&lt;BR /&gt; if(evt.adds.length &amp;gt;0 &amp;amp;&amp;amp; evt.adds[0].success == true)&lt;BR /&gt; {&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;else if(evt.updates.length &amp;gt;0 &amp;amp;&amp;amp; evt.updates[0].success == true)&lt;BR /&gt; {&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;var newUGraphics = existingFeature.setGeometry(this._graphicsLayer.graphics[0].geometry);&lt;/P&gt;&lt;P&gt;newUFeatureLayer.applyEdits(null,[newUGraphics],null);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working fine, i.e. coming to "edit-complete" event when i am creating&amp;nbsp;a new feature and then deleting the old one&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 01:52:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-applyedits-not-working-sometimes/m-p/144170#M13418</guid>
      <dc:creator>ShaikhRizuan</dc:creator>
      <dc:date>2016-09-12T01:52:38Z</dc:date>
    </item>
  </channel>
</rss>

