<?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: InfoTemplate not showing all fields in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589570#M55089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;breilly did you find a solution? I'm still struggling.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried jeff's suggestion with no joy. I've also tried the popup dijit instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff - could you expand a little more on this please: "Test the query directly on the rest service"? How would i do that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Oct 2011 11:06:26 GMT</pubDate>
    <dc:creator>deleted-user-VeZur_n9o0OZ</dc:creator>
    <dc:date>2011-10-14T11:06:26Z</dc:date>
    <item>
      <title>InfoTemplate not showing all fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589567#M55086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having some difficulty adding a simple info window to my app. I'm following a walkthrough which has told me to create an InfoTemplate and feed it some html. However the resulting pop up only displays a couple of fields: my OBJECTID and the display field used for symbology when the resource was published to the server. I need my pop up to display all/a selection of fields. My code below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var content = "${*}";
&amp;nbsp;&amp;nbsp;&amp;nbsp; //var content = "&amp;lt;b&amp;gt; MSOA Area &amp;lt;/b&amp;gt;: ${MSOA_AREA} &amp;lt;br/&amp;gt;";
&amp;nbsp;&amp;nbsp;&amp;nbsp; // content = content + "&amp;lt;b&amp;gt; Mean Gross Annual Income &amp;lt;/b&amp;gt;: ${INCOME_AVG_YEARLY_GROSS} &amp;lt;br/&amp;gt;";
&amp;nbsp;&amp;nbsp;&amp;nbsp; // content = content + "&amp;lt;b&amp;gt; Target Age Population &amp;lt;/b&amp;gt;: ${TARGET_AGE_POP} &amp;lt;br/&amp;gt;";
&amp;nbsp;&amp;nbsp;&amp;nbsp; // content = content + "&amp;lt;b&amp;gt; Visitor Volume 19th July 2011 &amp;lt;/b&amp;gt;: ${MAX_ADJ_VOL_190711} &amp;lt;br/&amp;gt;";
&amp;nbsp;&amp;nbsp;&amp;nbsp; // content = content + "&amp;lt;b&amp;gt; Visitor Volume 23rd July 2011&amp;lt;/b&amp;gt;: ${MAX_ADJ_VOL_230711} &amp;lt;br/&amp;gt;";
&amp;nbsp;&amp;nbsp;&amp;nbsp; // content = content + "&amp;lt;b&amp;gt; Visitor Volume Difference &amp;lt;/b&amp;gt;: ${MAX_ADJ_VOL_DIFF}";

&amp;nbsp;&amp;nbsp;&amp;nbsp; var infoTemplate = new esri.InfoTemplate("Westfield Origin Destination", content);

&amp;nbsp;&amp;nbsp;&amp;nbsp; //feature layer
&amp;nbsp;&amp;nbsp;&amp;nbsp; var flURL = "http://SERVER/ArcGIS/rest/services/Maps/TSB_OD_Operational/MapServer/3";
&amp;nbsp;&amp;nbsp;&amp;nbsp; featureLayer = new esri.layers.FeatureLayer(flURL, {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode : esri.layers.FeatureLayer.MODE_ONDEMAND,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //outfields : ["MSOA_AREA","INCOME_AVG_YEARLY_GROSS","TARGET_AGE_POP","MAX_ADJ_VOL_190711","MAX_ADJ_VOL_230711","MAX_ADJ_VOL_DIFF"],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplate : infoTemplate
&amp;nbsp;&amp;nbsp;&amp;nbsp; });

&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayers([basemap, featureLayer]);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have any pointers?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 14:11:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589567#M55086</guid>
      <dc:creator>deleted-user-VeZur_n9o0OZ</dc:creator>
      <dc:date>2011-10-10T14:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: InfoTemplate not showing all fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589568#M55087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A tip, then a suggestion&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Test the query directly on the rest service.&amp;nbsp; If you dont specify fields, i think it only returns the objectid and display field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try uncommenting your outfields but making it ["*"]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I'm having some difficulty adding a simple info window to my app. I'm following a walkthrough which has told me to create an InfoTemplate and feed it some html. However the resulting pop up only displays a couple of fields: my OBJECTID and the display field used for symbology when the resource was published to the server. I need my pop up to display all/a selection of fields. My code below:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var content = "${*}";
&amp;nbsp;&amp;nbsp;&amp;nbsp; //var content = "&amp;lt;b&amp;gt; MSOA Area &amp;lt;/b&amp;gt;: ${MSOA_AREA} &amp;lt;br/&amp;gt;";
&amp;nbsp;&amp;nbsp;&amp;nbsp; // content = content + "&amp;lt;b&amp;gt; Mean Gross Annual Income &amp;lt;/b&amp;gt;: ${INCOME_AVG_YEARLY_GROSS} &amp;lt;br/&amp;gt;";
&amp;nbsp;&amp;nbsp;&amp;nbsp; // content = content + "&amp;lt;b&amp;gt; Target Age Population &amp;lt;/b&amp;gt;: ${TARGET_AGE_POP} &amp;lt;br/&amp;gt;";
&amp;nbsp;&amp;nbsp;&amp;nbsp; // content = content + "&amp;lt;b&amp;gt; Visitor Volume 19th July 2011 &amp;lt;/b&amp;gt;: ${MAX_ADJ_VOL_190711} &amp;lt;br/&amp;gt;";
&amp;nbsp;&amp;nbsp;&amp;nbsp; // content = content + "&amp;lt;b&amp;gt; Visitor Volume 23rd July 2011&amp;lt;/b&amp;gt;: ${MAX_ADJ_VOL_230711} &amp;lt;br/&amp;gt;";
&amp;nbsp;&amp;nbsp;&amp;nbsp; // content = content + "&amp;lt;b&amp;gt; Visitor Volume Difference &amp;lt;/b&amp;gt;: ${MAX_ADJ_VOL_DIFF}";

&amp;nbsp;&amp;nbsp;&amp;nbsp; var infoTemplate = new esri.InfoTemplate("Westfield Origin Destination", content);

&amp;nbsp;&amp;nbsp;&amp;nbsp; //feature layer
&amp;nbsp;&amp;nbsp;&amp;nbsp; var flURL = "http://SERVER/ArcGIS/rest/services/Maps/TSB_OD_Operational/MapServer/3";
&amp;nbsp;&amp;nbsp;&amp;nbsp; featureLayer = new esri.layers.FeatureLayer(flURL, {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode : esri.layers.FeatureLayer.MODE_ONDEMAND,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //outfields : ["MSOA_AREA","INCOME_AVG_YEARLY_GROSS","TARGET_AGE_POP","MAX_ADJ_VOL_190711","MAX_ADJ_VOL_230711","MAX_ADJ_VOL_DIFF"],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplate : infoTemplate
&amp;nbsp;&amp;nbsp;&amp;nbsp; });

&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayers([basemap, featureLayer]);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Anyone have any pointers?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;BR /&gt;James&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:19:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589568#M55087</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2021-12-12T01:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: InfoTemplate not showing all fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589569#M55088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having this problem, too. I've made sure the feature has attributes for all fields, but the only field that will show up is FID. Even using ${*} doesn't work in the InfoTemplate. Putting the layer into ArcGIS.com and enabling a popup there shows all fields correctly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 18:43:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589569#M55088</guid>
      <dc:creator>BenReilly</dc:creator>
      <dc:date>2011-10-11T18:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: InfoTemplate not showing all fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589570#M55089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;breilly did you find a solution? I'm still struggling.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried jeff's suggestion with no joy. I've also tried the popup dijit instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff - could you expand a little more on this please: "Test the query directly on the rest service"? How would i do that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2011 11:06:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589570#M55089</guid>
      <dc:creator>deleted-user-VeZur_n9o0OZ</dc:creator>
      <dc:date>2011-10-14T11:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: InfoTemplate not showing all fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589571#M55090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, I haven't really found a solution. I had this problem with multiple feature layers in my map. I solved it (to some degree) by adding each layer as a new function on the map, but one layer still won't display attribute fields properly. Like I said, it's only an error in the javascript API. ArcGIS Online and ArcMap show all attributes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2011 17:09:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589571#M55090</guid>
      <dc:creator>BenReilly</dc:creator>
      <dc:date>2011-10-14T17:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: InfoTemplate not showing all fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589572#M55091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok well I'm in the same boat as you. I have just verified that I can see all attributes in arcgis.com and in ArcMap. Is this something we should report?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would you mind posting your work around? Do you mean you use map.addlayer() rather than adding all feature layers at once? I'm more than happy to do something hacky.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 12:02:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589572#M55091</guid>
      <dc:creator>deleted-user-VeZur_n9o0OZ</dc:creator>
      <dc:date>2011-10-17T12:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: InfoTemplate not showing all fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589573#M55092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you have a service or application url that you can post? Or a public webmap from ArcGIS.com that contains the layer that is causing problems in the ArcGIS API for Javascript?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ok well I'm in the same boat as you. I have just verified that I can see all attributes in arcgis.com and in ArcMap. Is this something we should report?&lt;BR /&gt;&lt;BR /&gt;Would you mind posting your work around? Do you mean you use map.addlayer() rather than adding all feature layers at once? I'm more than happy to do something hacky.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;James&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 22:56:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589573#M55092</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2011-10-17T22:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: InfoTemplate not showing all fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589574#M55093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ok well I'm in the same boat as you. I have just verified that I can see all attributes in arcgis.com and in ArcMap. Is this something we should report?&lt;BR /&gt;&lt;BR /&gt;Would you mind posting your work around? Do you mean you use map.addlayer() rather than adding all feature layers at once? I'm more than happy to do something hacky.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;James&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I used this to add each layer individually. It's added content in the InfoTemplate for all but one problem layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp; function showFood(){
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; var Foodinfo = new esri.InfoTemplate("&amp;lt;b&amp;gt;${Name}&amp;lt;/b&amp;gt;", "${op1}");
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; Food = new esri.layers.FeatureLayer("http://studentgisserver.uww.edu/ArcGIS/rest/services/campus/MapServer/6", {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: esri.layers.FeatureLayer.MODE_ONDEMAND,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["*"],
&amp;nbsp; infoTemplate: Foodinfo
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp; map.addLayer(Food);
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; function showRec(){
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; var recinfo = new esri.InfoTemplate("Recreation Area", "&amp;lt;b&amp;gt;${Name}&amp;lt;/b&amp;gt;")
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; Rec = new esri.layers.FeatureLayer("http://studentgisserver.uww.edu/ArcGIS/rest/services/campus/MapServer/2", {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: esri.layers.FeatureLayer.MODE_ONDEMAND,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["*"],
&amp;nbsp; infoTemplate: recinfo
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp; Rec.setOpacity(0.55);
&amp;nbsp; map.addLayer(Rec);
&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:19:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589574#M55093</guid>
      <dc:creator>BenReilly</dc:creator>
      <dc:date>2021-12-12T01:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: InfoTemplate not showing all fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589575#M55094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ben,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just ran a quick test using your services and I can see the fields you specify in the info template. Is there another field you were trying to view? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a link where you can see the test running:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://jsfiddle.net/khutchins/KW55w/"&gt;http://jsfiddle.net/khutchins/KW55w/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 15:43:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589575#M55094</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2011-10-18T15:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: InfoTemplate not showing all fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589576#M55095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That was how I got my other layers to work- when they were all in the same init function, only one field showed up. This is the layer I can't get to work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
function parkinginit(){
&amp;nbsp; 
&amp;nbsp; var parkinfo = new esri.InfoTemplate("Parking Info", "${*}")
&amp;nbsp; 
&amp;nbsp; parking = new esri.layers.FeatureLayer("http://studentgisserver.uww.edu/ArcGIS/rest/services/campus/MapServer/5", {
&amp;nbsp; mode: esri.layers.FeatureLayer.MODE_ONDEMAND,
&amp;nbsp; outfields: ["*"],
&amp;nbsp; infoTemplate: parkinfo
&amp;nbsp; });

&amp;nbsp; map.addLayer(parking);
}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't see anything different or wrong from any of the other layers that do work. Here's the example on ArcGIS Online. As you can see, it can find the fields here. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://bit.ly/oN1UUr" rel="nofollow noopener noreferrer" target="_blank"&gt;http://bit.ly/oN1UUr&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a web example showing how the parking lot infotemplate does not work properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://studentgisserver.uww.edu/javamapsearch.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://studentgisserver.uww.edu/javamapsearch.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:19:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589576#M55095</guid>
      <dc:creator>BenReilly</dc:creator>
      <dc:date>2021-12-12T01:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: InfoTemplate not showing all fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589577#M55096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There's a typo in your code that adds the parking info:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;change the all lowercase outfields to mixed case (outFields)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;outfields: ["*"],&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;outFields: ["*"],&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 16:42:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589577#M55096</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2011-10-18T16:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: InfoTemplate not showing all fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589578#M55097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for catching that, Kelly. That got the InfoTemplate working just perfectly. I must have looked at that line a dozen times and never caught it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;James, it looks like you might have the same typo in the code you originally posted. Does changing outfields to outFields fix your problem, too?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 16:00:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589578#M55097</guid>
      <dc:creator>BenReilly</dc:creator>
      <dc:date>2011-10-19T16:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: InfoTemplate not showing all fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589579#M55098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Certainly did fix it! Thanks a lot Kelly. Great start to my day.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just reading your post here Kelly about the code assist plugin:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/41685-Code-Assist-plugin-for-ArcGIS-JavaScript-API-2.5-not-available"&gt;http://forums.arcgis.com/threads/41685-Code-Assist-plugin-for-ArcGIS-JavaScript-API-2.5-not-available&lt;/A&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would the typo above be picked up by a working plugin? Would be really handy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 10:09:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/589579#M55098</guid>
      <dc:creator>deleted-user-VeZur_n9o0OZ</dc:creator>
      <dc:date>2011-10-20T10:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: InfoTemplate not showing all fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/1564355#M86182</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This is an excellent article. This is, in my opinion, one of the best posts ever written. Your work is excellent and inspiring. Thank you very much.&amp;nbsp;&lt;A href="https://astonjackets.com/product/jack-daniels-jacket/" target="_self"&gt;Jack Daniel’s Jacket&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 20:40:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infotemplate-not-showing-all-fields/m-p/1564355#M86182</guid>
      <dc:creator>Astonjacket</dc:creator>
      <dc:date>2024-12-03T20:40:44Z</dc:date>
    </item>
  </channel>
</rss>

