<?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: Disable editing capabilites of a layer in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/disable-editing-capabilites-of-a-layer/m-p/308175#M7324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you can have non-editable feature layers. When you add your feature layers, point it to a layer within a MapService instead of a layer within a FeatureService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;"The feature layer can be used to display features from one single layer of either a Feature Service or a Map Service. The layer can be either a (spatial) layer or a (non-spatial) table. The features in a FeatureLayer can be edited if it is based on a Feature Service."&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 May 2011 13:26:35 GMT</pubDate>
    <dc:creator>BjornSvensson</dc:creator>
    <dc:date>2011-05-26T13:26:35Z</dc:date>
    <item>
      <title>Disable editing capabilites of a layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/disable-editing-capabilites-of-a-layer/m-p/308174#M7323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking to disable editing capabilities for some of my feature layers.&amp;nbsp; I modified the sample code 'Editor with toolbar' to display my project layers.&amp;nbsp; However, I only want to some of the layers to be editable and others read only.&amp;nbsp; Is there a way to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My overall goal is to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) show both editable/non-editable layers in Legend w/ label &amp;amp; symbology&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) if a user tries to select non-editable layer a warning message appears&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) have info window enabled so a user can still retrieve info from non-editable features&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With respect to #3 I currently get two windows to appear, 1 with the draw/edit tool and 1 with the info window.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jason&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 20:36:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/disable-editing-capabilites-of-a-layer/m-p/308174#M7323</guid>
      <dc:creator>JasonTrook</dc:creator>
      <dc:date>2011-05-25T20:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Disable editing capabilites of a layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/disable-editing-capabilites-of-a-layer/m-p/308175#M7324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you can have non-editable feature layers. When you add your feature layers, point it to a layer within a MapService instead of a layer within a FeatureService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;"The feature layer can be used to display features from one single layer of either a Feature Service or a Map Service. The layer can be either a (spatial) layer or a (non-spatial) table. The features in a FeatureLayer can be edited if it is based on a Feature Service."&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 13:26:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/disable-editing-capabilites-of-a-layer/m-p/308175#M7324</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2011-05-26T13:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Disable editing capabilites of a layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/disable-editing-capabilites-of-a-layer/m-p/308176#M7325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great, that makes sense.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I now have two legends: one displaying my Map Services and one displaying my editable Feature Services (see graphic).&amp;nbsp; Is there a good way to combine the two into a single legend (1st choice) or somehow stack one on top of the other.&amp;nbsp; So far I can't manage to reduce to size of the legend to fill up only a portion of the screen width/height.&amp;nbsp; Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jason&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 15:44:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/disable-editing-capabilites-of-a-layer/m-p/308176#M7325</guid>
      <dc:creator>JasonTrook</dc:creator>
      <dc:date>2011-05-26T15:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Disable editing capabilites of a layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/disable-editing-capabilites-of-a-layer/m-p/308177#M7326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Great, that makes sense.&lt;BR /&gt;I now have two legends: one displaying my Map Services and one displaying my editable Feature Services (see graphic).&amp;nbsp; Is there a good way to combine the two into a single legend (1st choice) or somehow stack one on top of the other.&amp;nbsp; So far I can't manage to reduce to size of the legend to fill up only a portion of the screen width/height.&amp;nbsp; Thanks,&lt;BR /&gt;&lt;BR /&gt;Jason&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What about adding the map service that has everything&amp;nbsp; (use that for the legend) then when someone wants to edit load the feature service?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 17:05:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/disable-editing-capabilites-of-a-layer/m-p/308177#M7326</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-05-26T17:05:09Z</dc:date>
    </item>
  </channel>
</rss>

