<?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 Layer and multi-user concurrent editing in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-and-multi-user-concurrent-editing/m-p/619390#M15957</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried the following sample:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp; xmlns:esri="http://schemas.esri.com/arcgis/client/2009"&amp;gt;

 &amp;lt;Grid x:Name="LayoutRoot" Background="White"&amp;gt;
&amp;nbsp; &amp;lt;esri:Map x:Name="MyMap" WrapAround="True" Extent="-19902659.740859,7433864.95979339,-13792567.5107708,10986668.962042"&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISTiledMapServiceLayer ID="BaseLayer" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" /&amp;gt;

&amp;nbsp;&amp;nbsp; &amp;lt;esri:FeatureLayer ID="Points" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mode="OnDemand"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DisableClientCaching="True"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OnDemandCacheSize="0"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/FeatureServer/0"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OutFields="*"/&amp;gt;
&amp;nbsp; &amp;lt;/esri:Map&amp;gt;
&amp;nbsp; &amp;lt;Button Content="update" Click="Button_Click" 
&amp;nbsp;&amp;nbsp;&amp;nbsp; VerticalAlignment="Top" HorizontalAlignment="Center"/&amp;gt;
 &amp;lt;/Grid&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp; private void Button_Click(object sender, RoutedEventArgs e)
&amp;nbsp; {
&amp;nbsp;&amp;nbsp; var l = MyMap.Layers["Points"] as FeatureLayer;
&amp;nbsp;&amp;nbsp; l.Update();
&amp;nbsp; }
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On Map.ExtentChanged, a query with where clause objectid NOT IN (&amp;lt;objectIDs in current extent&amp;gt;) is sent. If I click on button, features for current map extent is retrieved again (no NOT IN query). I assume you want to call FeatureLayer.Update()?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 02:27:15 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2021-12-12T02:27:15Z</dc:date>
    <item>
      <title>Feature Layer and multi-user concurrent editing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-and-multi-user-concurrent-editing/m-p/619383#M15950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have a feature layer with QueryMode set to OnDemand and DisableClientCaching set to true. I also call .Update() on the layer from a DispatcherTimer every 30 seconds. When multiple users edit at the same time from different browsers, A few oddities occur:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. When user 1 edits a feature, the edits don't appear in the other users' sessions unless they re-initialize the featurelayer. I have looked into the API and see that this is by design, to prevent the geometries from loading over and over again. But is there a way to disable this feature?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Often times when user 1 deletes a feature, the feature will reappear and need to be deleted 1 or 2 more times before finally being deleted for good. I cannot figure out why. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts or ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 17:10:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-and-multi-user-concurrent-editing/m-p/619383#M15950</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2012-06-06T17:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer and multi-user concurrent editing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-and-multi-user-concurrent-editing/m-p/619384#M15951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Once you detect a change in the server, you can call FeatureLayer.Update() to re-query the service. This will solve both issues.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 20:18:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-and-multi-user-concurrent-editing/m-p/619384#M15951</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2012-06-06T20:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer and multi-user concurrent editing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-and-multi-user-concurrent-editing/m-p/619385#M15952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply Jennifer. I'm not sure I follow what you mean. How do I detect a change on the server? Also, I am calling Update() every 30 seconds, but the query includes a WHERE clause that excludes the OBJECTID's of graphics currently in the client. So no changes to those graphics are detected. I was wondering if there is a way to disable this functionality.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2012 10:50:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-and-multi-user-concurrent-editing/m-p/619385#M15952</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2012-06-07T10:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer and multi-user concurrent editing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-and-multi-user-concurrent-editing/m-p/619386#M15953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe you can create a WCF service that informs the applications when server has changed? Your FeatureLayer is probably set to Mode=OnDemand, this will exclude OBJECTIDs that are already on the client. If you don't want that filter, you can change to Mode=SnapShot.&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/help/index.html#//016600000015000000"&gt;http://help.arcgis.com/en/webapi/silverlight/help/index.html#//016600000015000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2012 16:06:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-and-multi-user-concurrent-editing/m-p/619386#M15953</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2012-06-07T16:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer and multi-user concurrent editing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-and-multi-user-concurrent-editing/m-p/619387#M15954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want the extent-driven query that OnDemand mode gives you, but without the caching. Is there a way to have both?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2012 16:32:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-and-multi-user-concurrent-editing/m-p/619387#M15954</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2012-06-07T16:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer and multi-user concurrent editing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-and-multi-user-concurrent-editing/m-p/619388#M15955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sure, you can set the following properties: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DisableClientCaching=True&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.FeatureLayer~DisableClientCaching.html"&gt;http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.FeatureLayer~DisableClientCaching.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OnDemandCacheSize=0&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.FeatureLayer~OnDemandCacheSize.html"&gt;http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.FeatureLayer~OnDemandCacheSize.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2012 16:49:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-and-multi-user-concurrent-editing/m-p/619388#M15955</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2012-06-07T16:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer and multi-user concurrent editing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-and-multi-user-concurrent-editing/m-p/619389#M15956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately neither of those quite accomplish what I need. OnDemandCacheSize=0 simply limits the number of graphicslayer-cached graphics that are off-screen. DisableClientCaching=true just prevents the browser from caching http responses. Despite setting both of those I still see the query request having a '&amp;amp;WHERE=OBJECTID NOT IN (...)' parameter. I need to prevent the &lt;/SPAN&gt;&lt;STRONG&gt;excludeCachedFeaturesFromQuery()&lt;/STRONG&gt;&lt;SPAN&gt; routine from executing within the &lt;/SPAN&gt;&lt;STRONG&gt;FeatureLayer.Update()&lt;/STRONG&gt;&lt;SPAN&gt; method. It seems that currently this is impossible with OnDemand as the query mode. Can this be a feature in a future release perhaps?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2012 17:23:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-and-multi-user-concurrent-editing/m-p/619389#M15956</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2012-06-07T17:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer and multi-user concurrent editing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-and-multi-user-concurrent-editing/m-p/619390#M15957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried the following sample:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp; xmlns:esri="http://schemas.esri.com/arcgis/client/2009"&amp;gt;

 &amp;lt;Grid x:Name="LayoutRoot" Background="White"&amp;gt;
&amp;nbsp; &amp;lt;esri:Map x:Name="MyMap" WrapAround="True" Extent="-19902659.740859,7433864.95979339,-13792567.5107708,10986668.962042"&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISTiledMapServiceLayer ID="BaseLayer" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" /&amp;gt;

&amp;nbsp;&amp;nbsp; &amp;lt;esri:FeatureLayer ID="Points" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mode="OnDemand"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DisableClientCaching="True"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OnDemandCacheSize="0"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/FeatureServer/0"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OutFields="*"/&amp;gt;
&amp;nbsp; &amp;lt;/esri:Map&amp;gt;
&amp;nbsp; &amp;lt;Button Content="update" Click="Button_Click" 
&amp;nbsp;&amp;nbsp;&amp;nbsp; VerticalAlignment="Top" HorizontalAlignment="Center"/&amp;gt;
 &amp;lt;/Grid&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp; private void Button_Click(object sender, RoutedEventArgs e)
&amp;nbsp; {
&amp;nbsp;&amp;nbsp; var l = MyMap.Layers["Points"] as FeatureLayer;
&amp;nbsp;&amp;nbsp; l.Update();
&amp;nbsp; }
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On Map.ExtentChanged, a query with where clause objectid NOT IN (&amp;lt;objectIDs in current extent&amp;gt;) is sent. If I click on button, features for current map extent is retrieved again (no NOT IN query). I assume you want to call FeatureLayer.Update()?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:27:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-and-multi-user-concurrent-editing/m-p/619390#M15957</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-12T02:27:15Z</dc:date>
    </item>
  </channel>
</rss>

