<?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: EditTask stops working in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/edittask-stops-working/m-p/208193#M5173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;"please, next time tell us not to use something if you think so...""&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just did &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"maybe a message reporting the problem would be appricieted."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We do report the message that the REST server sends back.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you edit this through the featurelayer, you will automatically get this field validation on the client as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jun 2010 15:30:55 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2010-06-15T15:30:55Z</dc:date>
    <item>
      <title>EditTask stops working</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/edittask-stops-working/m-p/208190#M5170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an EditTask that works over a FeatureService (an mxd with a data source from a SQL Server Express direct connect).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when I repeatedly call an ApplyEdits the EditTask stops working: it doesn't fail, but in the completed event, even if the Success result is true, the AddResult property has zero items, telling that no new item were added.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Not only: in the first few times the FeatureService responds very quickly and fine, then it starts to respond slowly and no modification works via EditTask until I restart it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas? some lock on the data that prevents further edits?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jun 2010 21:31:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/edittask-stops-working/m-p/208190#M5170</guid>
      <dc:creator>deleted-user-pYdfRjvSAbTJ</dc:creator>
      <dc:date>2010-06-14T21:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: EditTask stops working</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/edittask-stops-working/m-p/208191#M5171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It was a mistake that EditTask was public in the beta. This will not be the case in the next drop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead you should be editing features through the FeatureLayer itself by modifying its Graphics collection directly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;On a side note, the behavior you describe is often caused by adding more and more eventhandlers to an object. Ie. you forget to unhook it again, and you keep adding the same eventhandler over and over again every time you execute it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jun 2010 23:21:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/edittask-stops-working/m-p/208191#M5171</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-06-14T23:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: EditTask stops working</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/edittask-stops-working/m-p/208192#M5172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found the solution to this problem using Fiddler and the ArcGIS Server REST web interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem was that I tried to add a feature with some wrong attribute values: a text attribute with a value longer than the field length.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The EditTask works fine, even if this is a public Beta (please, next time tell us not to use something if you think so...), but I think you should improve the feedback from the operation submitted: maybe a message reporting the problem would be appricieted.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 08:55:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/edittask-stops-working/m-p/208192#M5172</guid>
      <dc:creator>deleted-user-pYdfRjvSAbTJ</dc:creator>
      <dc:date>2010-06-15T08:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: EditTask stops working</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/edittask-stops-working/m-p/208193#M5173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;"please, next time tell us not to use something if you think so...""&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just did &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"maybe a message reporting the problem would be appricieted."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We do report the message that the REST server sends back.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you edit this through the featurelayer, you will automatically get this field validation on the client as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 15:30:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/edittask-stops-working/m-p/208193#M5173</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-06-15T15:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: EditTask stops working</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/edittask-stops-working/m-p/208194#M5174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When I said to tell us not to use something I didn't mean in the forum after a post about an issue, but directly on the API main web page. You told me that introducing EditTask in the public Beta was an error, but if I don't have any evidence in the reference that I shouldn't use it, I consider it as a plain usable tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In general using a FeatureLayer is not alway possible: not all FeatureLayers are built on point featureclasses, with lines and polygons loading a FeatureLayer couldn't be an option because of performances.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 08:38:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/edittask-stops-working/m-p/208194#M5174</guid>
      <dc:creator>deleted-user-pYdfRjvSAbTJ</dc:creator>
      <dc:date>2010-06-16T08:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: EditTask stops working</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/edittask-stops-working/m-p/208195#M5175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You don't have to add the featurelayer to the map to edit it, so it won't be a performance issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry about the inconvenience. But that's partly what betas are for.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 00:05:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/edittask-stops-working/m-p/208195#M5175</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-06-17T00:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: EditTask stops working</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/edittask-stops-working/m-p/208196#M5176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using QueryTask to get features from FeatureServer service. How can I edit and save my edits since EditTask isn't available anymore?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 07:14:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/edittask-stops-working/m-p/208196#M5176</guid>
      <dc:creator>egismazeika</dc:creator>
      <dc:date>2010-07-01T07:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: EditTask stops working</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/edittask-stops-working/m-p/208197#M5177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should use FeatureLayer to do this. This is simlar to the other Client API's&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 15:50:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/edittask-stops-working/m-p/208197#M5177</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-07-01T15:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: EditTask stops working</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/edittask-stops-working/m-p/208198#M5178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You should use FeatureLayer to do this. This is simlar to the other Client API's&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Morten, can you clarify this to me in more detail as I don't use any other Client API. I've created my internal FeatureLayer and try to "query" it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;edittingLayer.UpdateFailed += new EventHandler&amp;lt;TaskFailedEventArgs&amp;gt;(OnTask_Failed);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;edittingLayer.UpdateCompleted += new EventHandler(edittingLayer_UpdateCompleted);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;edittingLayer.Initialize();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;edittingLayer.Where = "1=1";&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;edittingLayer.Update();&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Object reference not set to an instance of an object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; StackTrace:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Client.FeatureLayer.update()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Client.FeatureLayer.Update()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the right way to query features for editting?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 13:28:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/edittask-stops-working/m-p/208198#M5178</guid>
      <dc:creator>egismazeika</dc:creator>
      <dc:date>2010-07-07T13:28:57Z</dc:date>
    </item>
  </channel>
</rss>

