<?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: Creating attribute inspector on feature selection in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/creating-attribute-inspector-on-feature-selection/m-p/660529#M61666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found this posting that goes some of the way, but I agree it's a nasty hack and there must be functions we can call to achieve the result&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/80810-AttributeInspector-quot-No-features-selected-quot" rel="nofollow noopener noreferrer" target="_blank"&gt;http://forums.arcgis.com/threads/80810-AttributeInspector-quot-No-features-selected-quot&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.attributeInspector._currentFeature = sel;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.attributeInspector.refresh();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.attributeInspector.domNode.children[0].innerHTML = layer.name;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.attributeInspector.domNode.children[1].setAttribute('style','display:block;');
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // next/ prev and other functions etc are under other nodes.
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 03:56:49 GMT</pubDate>
    <dc:creator>StevenHaslemore</dc:creator>
    <dc:date>2021-12-12T03:56:49Z</dc:date>
    <item>
      <title>Creating attribute inspector on feature selection</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/creating-attribute-inspector-on-feature-selection/m-p/660528#M61665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my work flow I'm looking to create attribute inspectors as needed rather than pre-initializing them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem I have is getting the inspector to populate on the first selection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I need to call some internal functions on the attribute inspector after it's creation to somewhat mimic what would happen during a selection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not having much luck so if someone knows and can share these steps I'd much appreciate it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steven&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 17:40:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/creating-attribute-inspector-on-feature-selection/m-p/660528#M61665</guid>
      <dc:creator>StevenHaslemore</dc:creator>
      <dc:date>2013-05-27T17:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating attribute inspector on feature selection</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/creating-attribute-inspector-on-feature-selection/m-p/660529#M61666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found this posting that goes some of the way, but I agree it's a nasty hack and there must be functions we can call to achieve the result&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/80810-AttributeInspector-quot-No-features-selected-quot" rel="nofollow noopener noreferrer" target="_blank"&gt;http://forums.arcgis.com/threads/80810-AttributeInspector-quot-No-features-selected-quot&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.attributeInspector._currentFeature = sel;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.attributeInspector.refresh();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.attributeInspector.domNode.children[0].innerHTML = layer.name;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.attributeInspector.domNode.children[1].setAttribute('style','display:block;');
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // next/ prev and other functions etc are under other nodes.
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:56:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/creating-attribute-inspector-on-feature-selection/m-p/660529#M61666</guid>
      <dc:creator>StevenHaslemore</dc:creator>
      <dc:date>2021-12-12T03:56:49Z</dc:date>
    </item>
  </channel>
</rss>

