Group layers in Feature Service

Discussion created by qbnsqbns on Jan 15, 2014
Latest reply on Aug 31, 2015 by KGerrow-esristaff

The ArcGIS documentation says that Feature Service doesn't support group layers. Also, when publishing a service using ArcGIS Desktop, the group layers are being ignored. BUT since ArcGIS Server 10.2 (or 10.2.1), when we request some FeatureServer's information in json format using ArcGIS Server REST API, we can see that layers have "parentLayerId" and "subLayerIds" fields, just like in the MapServer.

Some random example: http://services.arcgis.com/DO4gTjwJVIJ7O9Ca/arcgis/rest/services/CO%20Flood%202013%20Enriched%20Government%20Units%20-%20Incorporated%20Place%20%28Filter%29/FeatureServer/?f=json

So my question is:
Is it possible to, somehow, publish a Feature Service with group layers?