<?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 Why doesn't pop-up list all attributes for selected feature? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-doesn-t-pop-up-list-all-attributes-for/m-p/591454#M55275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My question is pertaining to the following template:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/DavidSpriggs/ConfigurableViewerJSAPI" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/DavidSpriggs/ConfigurableViewerJSAPI&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Created by David Briggs of ESRI&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I edited the Config.js file to include my services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;operationalLayers: [{
&amp;nbsp; type: "feature",
&amp;nbsp; url: "http://xxxxxx.com/arcgis/rest/services/xxxxx/xxxxxxx/0",
&amp;nbsp; options: {
&amp;nbsp;&amp;nbsp; id: "Cable",
&amp;nbsp;&amp;nbsp; title: "Cable",
&amp;nbsp;&amp;nbsp; opacity: 1.0,
&amp;nbsp;&amp;nbsp; visible: true,
&amp;nbsp;&amp;nbsp; infoTemplate: new esri.InfoTemplate("Attributes", "${*}"),
&amp;nbsp;&amp;nbsp; mode: esri.layers.FeatureLayer.MODE_SNAPSHOT
&amp;nbsp;&amp;nbsp; }}]&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now from what I've looked up and understand, the line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;infoTemplate: new esri.InfoTemplate("Attributes", "${*}"),&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Should show all attributes for the feature when it's clicked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it's only showing 1 or 2 of the attributes when there are many more.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I not correctly understanding what "${*}" is doing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to list ALL the attributes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 01:24:15 GMT</pubDate>
    <dc:creator>IB1</dc:creator>
    <dc:date>2021-12-12T01:24:15Z</dc:date>
    <item>
      <title>Why doesn't pop-up list all attributes for selected feature?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-doesn-t-pop-up-list-all-attributes-for/m-p/591454#M55275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My question is pertaining to the following template:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/DavidSpriggs/ConfigurableViewerJSAPI" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/DavidSpriggs/ConfigurableViewerJSAPI&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Created by David Briggs of ESRI&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I edited the Config.js file to include my services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;operationalLayers: [{
&amp;nbsp; type: "feature",
&amp;nbsp; url: "http://xxxxxx.com/arcgis/rest/services/xxxxx/xxxxxxx/0",
&amp;nbsp; options: {
&amp;nbsp;&amp;nbsp; id: "Cable",
&amp;nbsp;&amp;nbsp; title: "Cable",
&amp;nbsp;&amp;nbsp; opacity: 1.0,
&amp;nbsp;&amp;nbsp; visible: true,
&amp;nbsp;&amp;nbsp; infoTemplate: new esri.InfoTemplate("Attributes", "${*}"),
&amp;nbsp;&amp;nbsp; mode: esri.layers.FeatureLayer.MODE_SNAPSHOT
&amp;nbsp;&amp;nbsp; }}]&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now from what I've looked up and understand, the line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;infoTemplate: new esri.InfoTemplate("Attributes", "${*}"),&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Should show all attributes for the feature when it's clicked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it's only showing 1 or 2 of the attributes when there are many more.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I not correctly understanding what "${*}" is doing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to list ALL the attributes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:24:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-doesn-t-pop-up-list-all-attributes-for/m-p/591454#M55275</guid>
      <dc:creator>IB1</dc:creator>
      <dc:date>2021-12-12T01:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't pop-up list all attributes for selected feature?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-doesn-t-pop-up-list-all-attributes-for/m-p/591455#M55276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You may also need to specify the fields to be included in the feature layer definition. see &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/featurelayer.html#FeatureLayer/FeatureLayer1" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/featurelayer.html#FeatureLayer/FeatureLayer1&lt;/A&gt;&lt;SPAN&gt; which implies that only the OBJECTID field will be returned if you don't include a list of fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try adding:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
options: {
&amp;nbsp; id: "Cable",
&amp;nbsp; title: "Cable",
&amp;nbsp; opacity: 1.0,
&amp;nbsp; visible: true,
&lt;STRONG&gt;&amp;nbsp; outFields: ["*"],
&lt;/STRONG&gt;&amp;nbsp; infoTemplate: new esri.InfoTemplate("Attributes", "${*}"),
&amp;nbsp; mode: esri.layers.FeatureLayer.MODE_SNAPSHOT
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:24:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-doesn-t-pop-up-list-all-attributes-for/m-p/591455#M55276</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2021-12-12T01:24:17Z</dc:date>
    </item>
  </channel>
</rss>

