<?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 Query Attributes from AGSShapefileFeatureTable | swift  in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/query-attributes-from-agsshapefilefeaturetable/m-p/666372#M5934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #e7e8eb; border: 0px; margin: 0px 0px 1em;"&gt;I need help regarding an issue. I have an AGSShapefileFeatureTable loaded from shapefile. I want to search for attributes from this feature table.&lt;/P&gt;&lt;P style="color: #e7e8eb; border: 0px; margin: 0px 0px 1em;"&gt;When the specific attribute is searched only it should be showing on Map.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2020 20:39:12 GMT</pubDate>
    <dc:creator>Starboy84</dc:creator>
    <dc:date>2020-05-14T20:39:12Z</dc:date>
    <item>
      <title>Query Attributes from AGSShapefileFeatureTable | swift</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/query-attributes-from-agsshapefilefeaturetable/m-p/666372#M5934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #e7e8eb; border: 0px; margin: 0px 0px 1em;"&gt;I need help regarding an issue. I have an AGSShapefileFeatureTable loaded from shapefile. I want to search for attributes from this feature table.&lt;/P&gt;&lt;P style="color: #e7e8eb; border: 0px; margin: 0px 0px 1em;"&gt;When the specific attribute is searched only it should be showing on Map.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2020 20:39:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/query-attributes-from-agsshapefilefeaturetable/m-p/666372#M5934</guid>
      <dc:creator>Starboy84</dc:creator>
      <dc:date>2020-05-14T20:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Query Attributes from AGSShapefileFeatureTable | swift</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/query-attributes-from-agsshapefilefeaturetable/m-p/666373#M5935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are a few approaches to this (you've asked for option 3, but I figured I'd present some other commonly used approaches too):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_feature_layer.html#aea568b5f86ade5a225806083c7cfbacb"&gt;Select the feature&lt;/A&gt;. This will keep all features visible but will highlight the one you want.&lt;/LI&gt;&lt;LI&gt;Use an &lt;STRONG&gt;&lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_graphics_overlay.html"&gt;AGSGraphicsOverlay&lt;/A&gt;&lt;/STRONG&gt; to draw a copy of the feature as an &lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_graphic.html"&gt;&lt;STRONG&gt;AGSGraphic&lt;/STRONG&gt;&lt;/A&gt; (perhaps with different styling). This is similar to selecting the feature but gives you more control over what and how to display. You could also consider hiding the original feature layer (using the &lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_feature_layer.html#ad5f900ed4a061c0fd9c1bf96e23fc3e9"&gt;&lt;STRONG&gt;visible&lt;/STRONG&gt;&lt;/A&gt; property) while the graphics overlay is displayed.&lt;/LI&gt;&lt;LI&gt;Use the &lt;A href="https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_feature_layer.html#a4366dae3afbb7a347745bc2c7296a690"&gt;&lt;STRONG&gt;definitionExpression&lt;/STRONG&gt;&lt;/A&gt; on the AGSFeatureLayer. You can either provide the attribute search used the query, or if you have the feature's ID, you can set the SQL expression to reference that ID.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2020 23:10:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/query-attributes-from-agsshapefilefeaturetable/m-p/666373#M5935</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2020-05-17T23:10:48Z</dc:date>
    </item>
  </channel>
</rss>

