Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

a newbie question in using ArcGIS Server REST service:

from ArcGIS Services Directory, I opened the page of one layer in a MapServer service, this layer has a long list of attributes/fields. however, in the response of Query_Layer operation, it only includes two attribute fields in each feature object.

I am wondering is this a configurable setting? if so, where to control this to return all attribute fields.

thanks! and let me if further details of this question are needed.

share|improve this question
up vote 0 down vote accepted

In the Result Options box near the bottom of the page, there is an input for 'Return Fields (Comma Separated)'. Accordingly, you put in a comma delimited list of the fields you want included. Its the same thing for all of the web api's as well, there is a property where you set what fields get returned to the client.

I think by default, it only returns OBJECTID and Display Field.

share|improve this answer carelessness looking at return_options... – Simon Jun 11 '12 at 18:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.