Since lots of years back my organization has published feature layers by sharing the whole map. This has been done since it historically have been said that the attached table that handels attachements need to be in the Contents Pane when publishing. If not, attachements will not work. Is this still the case?
This is how we have done it so far:
- We create a feature class.
- We go to Manage for the feature class and checks Attachements.
- We add both the feature class and attach-table to the Contents Pane in a Map
- We change the name of the Map and adds metadata to the Map
- We got the the Share ribbon menu and clicks on Web Layer and Publish web layer.
- We publish the map as a Reference registered data both as a Map Image and as a Feature.
- Looking in the Content in the Share pane both the map image+feature class+table is listed.
This way of working means that we need to create one ArcGIS Pro project for every editable feature class that we need to publish. We would like to have several feature classes in one project instead (grouped be theme) and share them by right clicking the feature class in the Contents Plane and choosing Share web layer from there.
Back to the initial question does the table need to be in the Contents Pane when publishing for attachements to work? If yes, will it work if all feature classes and related tables are in the same Contents Pane, but each feature class is published seperately?