Group Layers are not supported with Feature Services.
You can publish group layers as part of a map service hosted on ArcGIS Server.
If this is functionality that you would like to see in the future, please go ahead and promote the following idea on the ideas site: ArcGIS Idea - Group layers for ArcGIS online
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.