<?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: feature layer:selection mode and  snapshot mode difference? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-selection-mode-and-nbsp-snapshot/m-p/119505#M11092</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank You Bfou for your response..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Got My feature points through MapServerice..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2012 13:13:44 GMT</pubDate>
    <dc:creator>akpagaakpaga</dc:creator>
    <dc:date>2012-06-06T13:13:44Z</dc:date>
    <item>
      <title>feature layer:selection mode and  snapshot mode difference?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-selection-mode-and-nbsp-snapshot/m-p/119503#M11090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi friends&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying use the following samplehttp:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/ed_attribute_inspector.html&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem..is that &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when i change the feature layer&amp;nbsp; to my url like this, the feature points do not show on the base map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var petroFieldsFL = new esri.layers.FeatureLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://test.com/ArcGIS/rest/services/Houston/Test/FeatureServer/0" rel="nofollow" target="_blank"&gt;http://test.com/ArcGIS/rest/services/Houston/Test/FeatureServer/0&lt;/A&gt;&lt;SPAN&gt;", {&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: esri.layers.FeatureLayer.MODE_SELECTION,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["test1","objectid","Vacant"]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But&amp;nbsp; when i change the mode:esri.layers.FeatureLayer.MODE_SNAPSHOT&amp;nbsp; , they show up.....what is the difference between the sample feature service and mine...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;how can i get it work in selection mode&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank&amp;nbsp; you in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 02:24:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-selection-mode-and-nbsp-snapshot/m-p/119503#M11090</guid>
      <dc:creator>akpagaakpaga</dc:creator>
      <dc:date>2012-06-06T02:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: feature layer:selection mode and  snapshot mode difference?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-selection-mode-and-nbsp-snapshot/m-p/119504#M11091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure if you're aware but the api reference (the tab right next to the samples tab) has a wealth of information. Here's what it says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;MODE_SELECTION&amp;nbsp; &lt;BR /&gt;In selection mode, features are retrieved from the server only when they are selected. Features are available on the client only while they are selected. To work with selected features:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Call the selectFeatures method.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Listen for the onSelectionComplete event.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Once onSelectionComplete fires, retrieve the selected features using the getSelectedFeatures method.&lt;BR /&gt;When editing feature layers in selection mode, you will need to add the map service associated with the feature service to the map as a dynamic map service. After modifying features, listen for the onEditsComplete event and manually refresh the associated dynamic map service layer so the modified features are rendered. If you do not have the map service added as a dynamic map service then the changes will not be visible because once the edits are complete the feature is no longer selected.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;MODE_SNAPSHOT&lt;BR /&gt;In snapshot mode, the feature layer retrieves all the features from the associated layer resource and displays them as graphics on the client. Definition expressions and time definitions are honored. The features are retrieved once the feature layer is added to the map. After the onUpdateEnd event has fired, you can access the features using the graphics property of the layer or through selection and query operations. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nothing shows up in selection mode because you haven't selected any features. Note that it MODE_SELECTION requires you to add the layer as a dynamic layer too.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 03:16:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-selection-mode-and-nbsp-snapshot/m-p/119504#M11091</guid>
      <dc:creator>BenFousek</dc:creator>
      <dc:date>2012-06-06T03:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: feature layer:selection mode and  snapshot mode difference?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-selection-mode-and-nbsp-snapshot/m-p/119505#M11092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank You Bfou for your response..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Got My feature points through MapServerice..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 13:13:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-selection-mode-and-nbsp-snapshot/m-p/119505#M11092</guid>
      <dc:creator>akpagaakpaga</dc:creator>
      <dc:date>2012-06-06T13:13:44Z</dc:date>
    </item>
  </channel>
</rss>

