publishing feature classes to AGOL from ArcGIS Pro for use in Collector

7 views
Skip to first unread message

Neil Curri

unread,
Jun 15, 2021, 5:09:04 PM6/15/21
to Hudson Valley SCGIS Chapter
I thought I'd share a few hang-ups I had to work around yesterday and today on this. 

1. Publishing from the Share ribbon publishes all layers in the Contents pane, while right-clicking on a layer and sharing from the context menu only publishes the selected layer. I assumed that any related tables would also get published as well when doing the latter; this was not the case. I had to use the SHIFT key to select both the feature class AND the related tables in the Contents pane to get them to publish as one hosted feature layer when right-clicking on the feature class and using the share context menu. 

2. Collector does not like < or > signs in the names of layers in your web map, and probably some other special characters (though it seems fine with dashes and parentheses). The tables as I created them in the geodatabase of course do not have any special characters in their names, but while you can rename them once published and added to a map with spaces and other characters you couldn't normally use in a feature class name, certain symbols like < and > gum up the works. 

3. Another hangup I had from the start with this project was that I couldn't get AGOL or Collector to behave the way I set it up in ArcGIS Pro with subtypes and domains. I have three subtypes in the layer, and a different domain list to be used for the same field for two of the three subtypes. For the third subtype, I don't want it to use any domain at all for that field. This works fine in ArcGIS Pro, but not in AGOL or Collector. What I had to do was create a third domain for the third subtype with the one value in the domain list that I would always use in that field. 

Cheers, 
 -Neil 

Neil Curri, GISP
GIS Analyst, PVE, LLC
Vassar College Academic Computing Consultant

Alex Wolf (he/him) - Scenic Hudson

unread,
Jun 16, 2021, 3:48:07 PM6/16/21
to Hudson Valley SCGIS Chapter
Thanks for sharing, Neil!  This is super helpful for future reference - better to document while it's fresh in mind vs when someone else has a question down the road, by which time the finer points have often become foggy.  I'm in other technical Google Groups and after a while they become their own resource as we build a library of searchable past posts.
-Alex
Reply all
Reply to author
Forward
0 new messages