<?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 Update WHERE clause in Feature Layer in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/update-where-clause-in-feature-layer/m-p/737311#M18895</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am referencing this URL&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/silverlight-api/concepts/index.html#/Feature_layers/016600000015000000/" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/silverlight-api/concepts/index.html#/Feature_layers/016600000015000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see how the Feature layer is created and the WHERE clause is established....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have any examples on how to update this WHERE clause via VB or c++, preferably VB&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am currently am using GraphicsLayer and heard that I can use the ProxyURL property but want to figure both ways out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume the QueryTask is the same for a GraphicsLayer as it is for a FeatureLayer?&amp;nbsp; But how do I update the WHERE Clause in the FeatureLayer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any examples would be very helpful....thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Feb 2013 17:23:29 GMT</pubDate>
    <dc:creator>JayKappy</dc:creator>
    <dc:date>2013-02-07T17:23:29Z</dc:date>
    <item>
      <title>Update WHERE clause in Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/update-where-clause-in-feature-layer/m-p/737311#M18895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am referencing this URL&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/silverlight-api/concepts/index.html#/Feature_layers/016600000015000000/" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/silverlight-api/concepts/index.html#/Feature_layers/016600000015000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see how the Feature layer is created and the WHERE clause is established....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have any examples on how to update this WHERE clause via VB or c++, preferably VB&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am currently am using GraphicsLayer and heard that I can use the ProxyURL property but want to figure both ways out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume the QueryTask is the same for a GraphicsLayer as it is for a FeatureLayer?&amp;nbsp; But how do I update the WHERE Clause in the FeatureLayer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any examples would be very helpful....thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 17:23:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/update-where-clause-in-feature-layer/m-p/737311#M18895</guid>
      <dc:creator>JayKappy</dc:creator>
      <dc:date>2013-02-07T17:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Update WHERE clause in Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/update-where-clause-in-feature-layer/m-p/737312#M18896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can set the where clause in the xaml.&amp;nbsp; see this example &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#FeatureLayerFiltering"&gt;http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#FeatureLayerFiltering&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 21:28:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/update-where-clause-in-feature-layer/m-p/737312#M18896</guid>
      <dc:creator>ChrisBradberry</dc:creator>
      <dc:date>2013-02-07T21:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Update WHERE clause in Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/update-where-clause-in-feature-layer/m-p/737313#M18897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks you for your responce....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I am trying to get at is the feature layer is dynamic...in that I mean....when the user searches for another property or clicks on the screen I am running a buffer and spatial query. ...from this query I get another set of features to display in the feature layer....just need to know how to take this query result and update the WHERE clause set in xaml....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 00:02:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/update-where-clause-in-feature-layer/m-p/737313#M18897</guid>
      <dc:creator>JayKappy</dc:creator>
      <dc:date>2013-02-08T00:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Update WHERE clause in Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/update-where-clause-in-feature-layer/m-p/737314#M18898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;scrapped the Feature Layer and went with the Graphics Layer and a defined Long Term Token on the QueryTask of the Graphics Layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;scrapped the proxy page and went with long term token that is defined on the QueryTask&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Dim queryTask2 As New QueryTask("https://.org/arcgis/rest/services/Grove/MapServer/7")
AddHandler queryTask2.ExecuteCompleted, AddressOf QueryTask_ExecuteCompletedSearch
AddHandler queryTask2.Failed, AddressOf QueryTask_FailedSearch

Dim query2 As New ESRI.ArcGIS.Client.Tasks.Query()
query2.OutFields.AddRange(New String() {"PID"})
query2.ReturnGeometry = False
query2.Where = "1=1"

' Specify the Token
queryTask2.Token = â??Generated Token for your URLâ??

queryTask2.ExecuteAsync(query2, "initial")&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:51:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/update-where-clause-in-feature-layer/m-p/737314#M18898</guid>
      <dc:creator>JayKappy</dc:creator>
      <dc:date>2021-12-12T16:51:55Z</dc:date>
    </item>
  </channel>
</rss>

