iggz

Why doesn't pop-up list all attributes for selected feature?

Discussion created by iggz on Mar 12, 2013
Latest reply on Mar 12, 2013 by stevel
My question is pertaining to the following template:
https://github.com/DavidSpriggs/ConfigurableViewerJSAPI

Created by David Briggs of ESRI

I edited the Config.js file to include my services.

For example:

operationalLayers: [{
  type: "feature",
  url: "http://xxxxxx.com/arcgis/rest/services/xxxxx/xxxxxxx/0",
  options: {
   id: "Cable",
   title: "Cable",
   opacity: 1.0,
   visible: true,
   infoTemplate: new esri.InfoTemplate("Attributes", "${*}"),
   mode: esri.layers.FeatureLayer.MODE_SNAPSHOT
   }}]


Now from what I've looked up and understand, the line:
infoTemplate: new esri.InfoTemplate("Attributes", "${*}"),


Should show all attributes for the feature when it's clicked.

But it's only showing 1 or 2 of the attributes when there are many more.

Am I not correctly understanding what "${*}" is doing?

I would like to list ALL the attributes.

Outcomes