<?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: Question about AttributeInspector example - next? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/question-about-attributeinspector-example-next/m-p/434035#M39981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't feel like I need the entire Editor widget, but this is one of the first projects I've needed to edit a featureservice.&amp;nbsp; I'm only adding points and they will have the same symbol, so I don't need TemplatePicker.&amp;nbsp;&amp;nbsp; I do need to be able to move points, add attributes and attachments.&amp;nbsp; I don't think Editor has enough examples for all I suspect it will do for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see a constant for POINT in the Editor documentation and I think that's odd. I wasn't sure how to get started with my project without it, so my focus has been on the AttributeInspector example.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Oct 2015 20:09:29 GMT</pubDate>
    <dc:creator>TracySchloss</dc:creator>
    <dc:date>2015-10-15T20:09:29Z</dc:date>
    <item>
      <title>Question about AttributeInspector example - next?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/question-about-attributeinspector-example-next/m-p/434033#M39979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the example &lt;A href="https://developers.arcgis.com/javascript/jssamples/ed_attribute_inspector.html" title="https://developers.arcgis.com/javascript/jssamples/ed_attribute_inspector.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Using the attribute inspector | ArcGIS API for JavaScript&lt;/A&gt; in this section:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.on("click", function(evt) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; selectQuery.geometry = evt.mapPoint;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; petroFieldsFL.selectFeatures(selectQuery, FeatureLayer.SELECTION_NEW, function(features) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (features.length &amp;gt; 0) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //store the current feature
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt; updateFeature = features[0];&lt;/STRONG&gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.infoWindow.setTitle(features[0].getLayer().name);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.infoWindow.show(evt.screenPoint, map.getInfoWindowAnchor(evt.screenPoint));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.infoWindow.hide();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/PRE&gt;&lt;P&gt;updateFeature is always the first feature found in the array.&amp;nbsp; The rest of the code uses updateFeature in several ways.&amp;nbsp; There is also an even listener for next, but how would you ever get to 'next' if you only ever have one feature you're dealing with in the first place?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my project I may have points that are close to each other and I want to be able to step through all the selected features, not just the first one encountered.&amp;nbsp; I'm not sure how to modify this example to deal with all selected features.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:27:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/question-about-attributeinspector-example-next/m-p/434033#M39979</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2021-12-11T19:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Question about AttributeInspector example - next?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/question-about-attributeinspector-example-next/m-p/434034#M39980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure about the attribute inspector but in my app that uses the editor widget, it still gives me the record navigation buttons in the infoWindow's titlebar. I can't seem to get that to happen in the ESRI sample, though. Anyways, the infoWindow (ok, technically popup) does have method to advance to the next or previous selected item:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/popup-amd.html#selectnext"&gt;map.infoWindow.selectNext()&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/popup-amd.html#selectprevious"&gt;map.infoWindow.selectPrevious()&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hmm..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 19:46:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/question-about-attributeinspector-example-next/m-p/434034#M39980</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2015-10-15T19:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Question about AttributeInspector example - next?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/question-about-attributeinspector-example-next/m-p/434035#M39981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't feel like I need the entire Editor widget, but this is one of the first projects I've needed to edit a featureservice.&amp;nbsp; I'm only adding points and they will have the same symbol, so I don't need TemplatePicker.&amp;nbsp;&amp;nbsp; I do need to be able to move points, add attributes and attachments.&amp;nbsp; I don't think Editor has enough examples for all I suspect it will do for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see a constant for POINT in the Editor documentation and I think that's odd. I wasn't sure how to get started with my project without it, so my focus has been on the AttributeInspector example.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 20:09:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/question-about-attributeinspector-example-next/m-p/434035#M39981</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-10-15T20:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Question about AttributeInspector example - next?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/question-about-attributeinspector-example-next/m-p/434036#M39982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Attribute Inspector will handle navigating to the next feature for you if you have more than one feature selected. Here's a JSBin that shows this working.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://jsbin.com/sehanibeha/edit?html,css,js,output" title="http://jsbin.com/sehanibeha/edit?html,css,js,output"&gt;JS Bin - Collaborative JavaScript Debugging&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also attached the code because I've heard that some organizations block access to jsbin. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 21:44:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/question-about-attributeinspector-example-next/m-p/434036#M39982</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2015-10-16T21:44:29Z</dc:date>
    </item>
  </channel>
</rss>

