<?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 SDE locking in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/sde-locking/m-p/44403#M1057</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i have an app that "clones" features via a QueryTask from an SDE-backed feature service, changes some attributes &amp;amp; re-inserts them via a FeatureLayerTask into the same feature service. seems to be working fine except that every now &amp;amp; again we're seeing errors with a 400 fault code with either: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt; Another application is currently editing the version. [sde.DEFAULT]&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt; Lock request conflicts with an established lock [sde.DEFAULT]&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt;error messages. the features seem to be inserted ok even when these errors are thrown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;should we be concerned about this? is our approach correct? any workarounds besides swallowing these particular errors?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Dec 2012 08:10:29 GMT</pubDate>
    <dc:creator>PaulHastings1</dc:creator>
    <dc:date>2012-12-13T08:10:29Z</dc:date>
    <item>
      <title>SDE locking</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/sde-locking/m-p/44403#M1057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i have an app that "clones" features via a QueryTask from an SDE-backed feature service, changes some attributes &amp;amp; re-inserts them via a FeatureLayerTask into the same feature service. seems to be working fine except that every now &amp;amp; again we're seeing errors with a 400 fault code with either: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt; Another application is currently editing the version. [sde.DEFAULT]&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt; Lock request conflicts with an established lock [sde.DEFAULT]&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt;error messages. the features seem to be inserted ok even when these errors are thrown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;should we be concerned about this? is our approach correct? any workarounds besides swallowing these particular errors?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 08:10:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/sde-locking/m-p/44403#M1057</guid>
      <dc:creator>PaulHastings1</dc:creator>
      <dc:date>2012-12-13T08:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: SDE locking</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/sde-locking/m-p/44404#M1058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you explain more about how you do the clones, I have a similar task to do. Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 22:50:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/sde-locking/m-p/44404#M1058</guid>
      <dc:creator>cristiBJ</dc:creator>
      <dc:date>2012-12-13T22:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: SDE locking</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/sde-locking/m-p/44405#M1059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;basically do an asynch query on the features you want to clone. if these are in many layers, capture each query result as it comes back in until you have accounted for all the layers' features you want to clone. then use FeatureLayerTask to re-create them in your mapservice (in this case same mapservice which is probably why i'm seeing the locking issues).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;see this thread for code for the latter part (capturing cloned layers/features then applying edits to the map service, kind of simple):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/66726-clone-features?p=232950"&gt;http://forums.arcgis.com/threads/66726-clone-features?p=232950&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 09:34:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/sde-locking/m-p/44405#M1059</guid>
      <dc:creator>PaulHastings1</dc:creator>
      <dc:date>2012-12-17T09:34:50Z</dc:date>
    </item>
  </channel>
</rss>

