<?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 ObjectIDs are ignored in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-objectids-are-ignored/m-p/448466#M11626</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you, Dominique. The sample works fine, but not my services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried on:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. SQL Server 2008 (ArcSDE 9.3.1) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. SQL Server 2008 Express DB created with ArcGIS 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could the DBMS be the reason?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jul 2010 07:32:50 GMT</pubDate>
    <dc:creator>egismazeika</dc:creator>
    <dc:date>2010-07-13T07:32:50Z</dc:date>
    <item>
      <title>FeatureLayer ObjectIDs are ignored</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-objectids-are-ignored/m-p/448462#M11622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The documentation states: "If object ids are specified, other query parameters like Where are ignored."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's my code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureLayer edittingLayer;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;...&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;edittingLayer.ObjectIDs = new int[] { 1 };&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;edittingLayer.Where = "1=1";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;edittingLayer.Update();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All features are returned instead of single one.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 07:40:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-objectids-are-ignored/m-p/448462#M11622</guid>
      <dc:creator>egismazeika</dc:creator>
      <dc:date>2010-07-12T07:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer ObjectIDs are ignored</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-objectids-are-ignored/m-p/448463#M11623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ObjectIDs are working from version 10 of ArcGIS server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aren't&amp;nbsp; you using a 9.3 map service?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 12:46:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-objectids-are-ignored/m-p/448463#M11623</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-07-12T12:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer ObjectIDs are ignored</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-objectids-are-ignored/m-p/448464#M11624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That was tested on ArcGIS Server 10 beta and final&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 13:36:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-objectids-are-ignored/m-p/448464#M11624</guid>
      <dc:creator>egismazeika</dc:creator>
      <dc:date>2010-07-12T13:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer ObjectIDs are ignored</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-objectids-are-ignored/m-p/448465#M11625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just tested with the edit tools sample : &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#EditToolsExplicitSave" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#EditToolsExplicitSave&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adding the code below on a test button gives me a correct result (only one object is visible).&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; 
FeatureLayer featureLayer = MyMap.Layers["ThreatAreas"] as FeatureLayer;
featureLayer.ObjectIDs = new int[] { 8649 };
featureLayer.Where = "1=1";
featureLayer.Update();
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What could be the difference with your case?&lt;/SPAN&gt;&lt;SPAN style="font-size: 2; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:02:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-objectids-are-ignored/m-p/448465#M11625</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2021-12-11T20:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer ObjectIDs are ignored</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-objectids-are-ignored/m-p/448466#M11626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you, Dominique. The sample works fine, but not my services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried on:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. SQL Server 2008 (ArcSDE 9.3.1) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. SQL Server 2008 Express DB created with ArcGIS 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could the DBMS be the reason?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 07:32:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-objectids-are-ignored/m-p/448466#M11626</guid>
      <dc:creator>egismazeika</dc:creator>
      <dc:date>2010-07-13T07:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer ObjectIDs are ignored</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-objectids-are-ignored/m-p/448467#M11627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using ArcGIS 10 with Microsoft SQL Server 2008. I have never been able to get a FeatureLayer to use the values in ObjectIDs, it ignores them completely and only uses the Where field for queries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just wanted to confirm that this wasn't an isolated incident and I would be interested in getting this working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 18:34:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-objectids-are-ignored/m-p/448467#M11627</guid>
      <dc:creator>JoelMcBeth</dc:creator>
      <dc:date>2011-03-28T18:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer ObjectIDs are ignored</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-objectids-are-ignored/m-p/448468#M11628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for reporting this. We are aware of this issue and are working to get this bug fixed in future releases of the API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 20:56:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-objectids-are-ignored/m-p/448468#M11628</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-03-28T20:56:13Z</dc:date>
    </item>
  </channel>
</rss>

