AnsweredAssumed Answered

Fields not showing up in the Attribute Inspector

Question asked by arobinson-esristaff Employee on Mar 29, 2013
Latest reply on Apr 1, 2013 by arobinson-esristaff
Hello All,

I'm working on a project that requires editing attributes from a feature service.  The feature service has a lot of fields, 105 to be exact.  And since all of the fields need to be available for editing I didn't feel like explicitly naming each field in the FieldInfos section of my LayerInfos for the attribute inspector.  According to the documentation (http://developers.arcgis.com/en/javascript/jsapi/attributeinspector.html) all of the fields should be visible if I don't define anything.

But when I use the following code none of the fields show up in window.

var layerInfos = [{
          'featureLayer': historicBuildingsPolyFL,
          'showAttachments': true,
          'isEditable': true,
          'fieldInfos':[]
        }];

Please help,

Artie

Outcomes