Hi,
Are there plans to allow groupings when publishing a feature service rather than a map service? We have users throughout the company that create maps with hosted layers. It's not protocol at this time to register their data for adhoc projects with the Data Store. Some of their datasets are quite large, which forces them to break them into multiple .csv files, which they upload using Add Data one at a time. (We are using ArcGIS Server versus Portal, but are in the process of standing up Portal.)
Thanks,
Shana
I believe if you add a map service from ArcGIS Server (not a feature service) to a map you will get the layers grouped under the map service. So if you were to publish your various groups as their own services, you could add them as map services and they will be grouped by their service name.
Noah,
Eninna added the zipped shapefile (with more than one shapefile inside it) directly via the Add button in the map viewer. This workflow yields the group structure illustrated. If you add the same zipped shapefile as an item to My Content and publish a hosted feature layer from it (or publish from Desktop), adding the hosted feature layer to a map will not yield the same group structure. Each layer within the hosted feature layer will appear as its own independent layer in the map. Ideally, we would not have this inconsistency.
Thanks.
Mike
Eninna, I know this was long ago, but did you ever figure out how to upload these layers into a group. I seem to be having the same problem as you.
Eninna,
Are you publishing your layers and bringing them into AGOL as feature services? Feature service publishing does not allow for or honor groupings.
This is really interesting. But I am uploading my layers through by publishing service through ArcGIS Desktop and it seems that even if I group them in Desktop, they are not transferred over the same.
Hmm, that is interesting. But if you need to keep the symbology and things like that (which you can only get by saving and publishing the service) this wouldn't work, would it?
Eben:
I'm not quite sure if this is exactly what you're asking, but I seem to be able to group layers in ArcGIS Online. I think this might be an issue because most people are uploading single Shapefiles within a Zip file, and then hoping to group them after they have been installed in ArcGIS Online. This cannot be done.
However, if you bundle multiple Shapefiles into one Zip file, and then upload that to ArcGIS Online, the web software will inherently group them together. The only caveat that I can see though is that it only groups the layers in the "Contents" tab, and not the "Legend"...but this I find is Ok because this is where most people will be reading the legend anyway.
ArcGIS Online will name your group based on the name you gave to your Zip file; however, this, of course, can also be edited after you have uploaded the Zip file. I have given you an example of what I have done in the past with ArcGIS Online. The Zip file I just named "Fairview Noise Assessment-July2015", and each Shapefile that was contained in that Zip file is grouped below.
Does this help?
Dear Sebastien,
Thank you very much for your support. I hope I will be able to handle the
instruction with your advanced classic view template.
Best regards,
Phuong Do
I uploaded our code here
Template to use sublayers
I'm still looking for a way to group layers in ArcGIS Online. I am managing utility networks, and would like to group water utility, sanitary, and storm utility features together, instead of just having each layer listed separately in the layer list. I want to be able to turn on and off the whole system instead of just one layer at a time. This seems like such a simple feature to integrate with ArcGIS Online...
I have access to ArcGIS Server but am missing something in publishing a map service to ArcGIS Online since I have not been able to do it. Is there any documentation somewhere that I can read?
Is it possible to share your template Sebastien? Im in need one like that.
Thanks a lot.
Phuong
Same here.
We created a specific template for that but would appreicate other feedback
Hi, I am interested with whether you found a solution to group layers in ArcGIS online web map
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.