<?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: Why are layer filters on web map not honored when creating agsmap from web map? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/why-are-layer-filters-on-web-map-not-honored-when/m-p/564787#M4867</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mark. &amp;nbsp;I'll compare your code to mine tonight. &amp;nbsp;It looks similar but I was following a different sample which I don't think created the portal and portal item.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Jun 2017 20:22:09 GMT</pubDate>
    <dc:creator>JadeFreeman</dc:creator>
    <dc:date>2017-06-12T20:22:09Z</dc:date>
    <item>
      <title>Why are layer filters on web map not honored when creating agsmap from web map?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/why-are-layer-filters-on-web-map-not-honored-when/m-p/564785#M4865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm following some of the samples for creating a new AGSMap instance from a web map. &amp;nbsp;This works fine except that filters on layers in the web map are not honored or used. &amp;nbsp;My web map basically contains a layer that has a filter expression that limits features to a single floor within a building. &amp;nbsp;When viewed on the web, the web map works fine. &amp;nbsp;However, used within the iOS 100.0.0 SDK, features from all floors within the building are displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I cannot find anything in the documentation to suggest that layer filters defined in the web map would not be honored but while I have been developing with the Javascript API for some time, I am pretty new to the iOS SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 21:24:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/why-are-layer-filters-on-web-map-not-honored-when/m-p/564785#M4865</guid>
      <dc:creator>JadeFreeman</dc:creator>
      <dc:date>2017-05-31T21:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why are layer filters on web map not honored when creating agsmap from web map?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/why-are-layer-filters-on-web-map-not-honored-when/m-p/564786#M4866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello. &amp;nbsp;How are you setting the filter expression on the feature layer in the AGOL map viewer? &amp;nbsp;I have been able to set a filter and have it loaded successfully using the "filter" button on the layer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/356218_Layerfilter.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I set a filter, it looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/356234_FilterView.png" style="width: 620px; height: 349px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then how are you creating the AGSMap in your app? I'm using the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//filterLayer map:&lt;BR /&gt; let portal = AGSPortal.arcGISOnline(withLoginRequired: false)&lt;BR /&gt; let portalItem = AGSPortalItem(portal: portal, itemID: "415658075f2840b89925258867081d90")&lt;BR /&gt; let map = AGSMap(item:portalItem)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;self.mapView.map = self.map&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 16:23:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/why-are-layer-filters-on-web-map-not-honored-when/m-p/564786#M4866</guid>
      <dc:creator>MarkDostal</dc:creator>
      <dc:date>2017-06-08T16:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why are layer filters on web map not honored when creating agsmap from web map?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/why-are-layer-filters-on-web-map-not-honored-when/m-p/564787#M4867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mark. &amp;nbsp;I'll compare your code to mine tonight. &amp;nbsp;It looks similar but I was following a different sample which I don't think created the portal and portal item.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 20:22:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/why-are-layer-filters-on-web-map-not-honored-when/m-p/564787#M4867</guid>
      <dc:creator>JadeFreeman</dc:creator>
      <dc:date>2017-06-12T20:22:09Z</dc:date>
    </item>
  </channel>
</rss>

