<?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: Enable Editing on webMap in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/enable-editing-on-webmap/m-p/123981#M1175</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you load the feature layer from a URL, the graphics count will be 0 until you query right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loading from a URL means you need to query in order to access features.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jul 2014 21:35:35 GMT</pubDate>
    <dc:creator>KyleDunaway</dc:creator>
    <dc:date>2014-07-28T21:35:35Z</dc:date>
    <item>
      <title>Enable Editing on webMap</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/enable-editing-on-webmap/m-p/123977#M1171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an iOS app that loads a webMap and makes edits/updates to the feature layers of that webMap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ArcGIS Online, when I view the webMap in the viewer, and click on a content layer I get the following window.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2014-07-25 at 1.07.03 PM.png" class="jive-image image-1" src="/legacyfs/online/2618_Screen Shot 2014-07-25 at 1.07.03 PM.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I Disable Editing on this layer, in my app I can no longer edit the layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is what does this setting do exactly?&amp;nbsp; It shouldnt change the edit settings of the layer itself right?&lt;/P&gt;&lt;P&gt;When I load the URL of the feature layer that I changed to disable editing, I still see on the bottom of the feature layer the following:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2014-07-25 at 1.09.44 PM.png" class="jive-image image-2" src="/legacyfs/online/2619_Screen Shot 2014-07-25 at 1.09.44 PM.png" style="width: 620px; height: 23px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so the featureLayer itself is still editable.&amp;nbsp; In my app this is how I am getting the layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- (&lt;SPAN class="s1"&gt;void&lt;/SPAN&gt;)webMap:(&lt;SPAN class="s2"&gt;AGSWebMap&lt;/SPAN&gt; *) webmap didLoadLayer:(&lt;SPAN class="s2"&gt;AGSLayer&lt;/SPAN&gt; *)layer&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if layer.name equals the layer i want, i save it as a AGSFeatureLayer* and make changes to that.&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;Should I not get the layers from the webmap and use their respectable URLs instead?&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;Thanks for any help guys.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 20:12:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/enable-editing-on-webmap/m-p/123977#M1171</guid>
      <dc:creator>KyleDunaway</dc:creator>
      <dc:date>2014-07-25T20:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Editing on webMap</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/enable-editing-on-webmap/m-p/123978#M1172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that setting controls the ability to edit through the&lt;EM&gt; AGOL web ma&lt;/EM&gt;p.&amp;nbsp; An iOS app would be using the feature services directly, and can make changes to any service that allows edits.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Jul 2014 00:41:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/enable-editing-on-webmap/m-p/123978#M1172</guid>
      <dc:creator>MichaelDavis3</dc:creator>
      <dc:date>2014-07-26T00:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Editing on webMap</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/enable-editing-on-webmap/m-p/123979#M1173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;My question is what does this setting do exactly?&amp;nbsp; It shouldnt change the edit settings of the layer itself right?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This setting stores some information in the webmap saying that the author has disabled editing on the layer. The iOS SDK, when opening the webmap, honors this setting and creates a feature layer which reports that it doesn't support editing (the canCreate, canUpdate, and canDelete properties on AGSFeatureLayer returns NO). Of course, the backend feature service still supports editing (it remains unmodified), but since the feature layer chooses to not expose this onwards, things like popups (which inspect the feature layer's properties) don't provide the option to edit features in that layer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you were to not use the feature layer instance returned by the web map in&amp;nbsp; &lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;webMap:didLoadLayer: delegate method, and instead create your own feature layer pointing to the URL of the feature service directly, your layer would report that it IS capable of editing.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 18:21:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/enable-editing-on-webmap/m-p/123979#M1173</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2014-07-28T18:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Editing on webMap</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/enable-editing-on-webmap/m-p/123980#M1174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay. That makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 20:51:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/enable-editing-on-webmap/m-p/123980#M1174</guid>
      <dc:creator>KyleDunaway</dc:creator>
      <dc:date>2014-07-28T20:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Editing on webMap</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/enable-editing-on-webmap/m-p/123981#M1175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you load the feature layer from a URL, the graphics count will be 0 until you query right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loading from a URL means you need to query in order to access features.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 21:35:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/enable-editing-on-webmap/m-p/123981#M1175</guid>
      <dc:creator>KyleDunaway</dc:creator>
      <dc:date>2014-07-28T21:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Editing on webMap</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/enable-editing-on-webmap/m-p/123982#M1176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That depends upon the mode of the feature layer. In snapshot mode, all the features (up to the max limit supported by the service, defaults to 1000) are fetched. In OnDemand mode, only those features that fall within the map's current extent are fetched; provided you have added the layer to the map. If you don't add the layer to the map, the layer won't know the map's extent, and hence no features will be fetched.&amp;nbsp; In selection mode, only those features that satisfy the selection query will be fetched.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Detailed info on the modes here - &lt;A href="https://developers.arcgis.com/ios/guide/feature-layer.htm" title="https://developers.arcgis.com/ios/guide/feature-layer.htm"&gt;ArcGIS Feature layer—ArcGIS Runtime SDK for iOS | ArcGIS for Developers&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 17:49:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/enable-editing-on-webmap/m-p/123982#M1176</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2014-07-30T17:49:34Z</dc:date>
    </item>
  </channel>
</rss>

