Is it possible to exclude the columns in map service query,
For Example: I have a service, with
Service 1: Name, Department and ID
Service 2: Name, Forest, Species and ID
Service 3: Society, Asset, Culture and ID
I am calling this is a loop, when I give asterisk (*), then all columns are coming for identifier template, but I don't want ID from any service. Is there any way.
Clearly you can't use the * and still exclude any of the fields (ID in your case). I think you will have to explicitly specify the fields you want returned in the query.
The fields are all there in the service JSON. Would it be possible to pull all the field names and then just drop 'ID' from the array before submitting it as your out_fields param?