<?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: 4.28 Feature table.  highlightIds vs selectRows(deprecated) change. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-28-feature-table-highlightids-vs-selectrows/m-p/1386872#M83753</link>
    <description>&lt;P&gt;Looks like you are adding the features. You want to add the OBJECTID&lt;/P&gt;&lt;P&gt;response.features[iii].attributes.OBJECTID&lt;/P&gt;&lt;P&gt;You can see this sample here.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-featuretable-popup-interaction" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-featuretable-popup-interaction&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Feb 2024 17:01:44 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2024-02-26T17:01:44Z</dc:date>
    <item>
      <title>4.28 Feature table.  highlightIds vs selectRows(deprecated) change.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-28-feature-table-highlightids-vs-selectrows/m-p/1386756#M83750</link>
      <description>&lt;P&gt;I am trying to update some code, getting rid of deprecated items.&amp;nbsp; I am trying to change my feature table selections from selectRows() to highlightIds.add(), but I am having trouble.&amp;nbsp; I am guessing I am needing to add some more lines of code getting graphics first?&amp;nbsp; Any help will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/mbdriscoll/pen/GReBgYd?editors=1000" target="_blank"&gt;https://codepen.io/mbdriscoll/pen/GReBgYd?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;parcelLayer.queryFeatures(query)
        .then(function(response) {
          // Open the popup with the queried features
          theView.openPopup({
            features: response.features,
            featureMenuOpen: true,
            featuresPerPage: 100,
          });
          addButtonToContainer();
          if(response.features.length === 0){
                alert("Search query found no results.");
                return
            }else{
              for(let iii=0; iii &amp;lt; response.features.length; iii++){
                //console.log(response.features[iii])
                //featureTable.selectRows(response.features[iii]);
                featureTable.highlightIds.add(response.features[iii]);
                console.log(featureTable.highlightIds.add(response.features[iii]))
                featureTable.filterBySelection();
              }
            };
        });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 15:18:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-28-feature-table-highlightids-vs-selectrows/m-p/1386756#M83750</guid>
      <dc:creator>MatthewDriscoll</dc:creator>
      <dc:date>2024-02-26T15:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: 4.28 Feature table.  highlightIds vs selectRows(deprecated) change.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-28-feature-table-highlightids-vs-selectrows/m-p/1386872#M83753</link>
      <description>&lt;P&gt;Looks like you are adding the features. You want to add the OBJECTID&lt;/P&gt;&lt;P&gt;response.features[iii].attributes.OBJECTID&lt;/P&gt;&lt;P&gt;You can see this sample here.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-featuretable-popup-interaction" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-featuretable-popup-interaction&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 17:01:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-28-feature-table-highlightids-vs-selectrows/m-p/1386872#M83753</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2024-02-26T17:01:44Z</dc:date>
    </item>
  </channel>
</rss>

