I have published a feature layer that has several sub-layers in it, however, I have created a relationship with one of the sub-layers. but after overwriting the feature layer. all previous layers appear in the layer list on the web map but the related tables do not appear. Any suggested solutions?
@FrederickABOAGYE, have you tried adding the feature service to a new web map to see if the relationship exists there? When you overwrite a service, any existing web maps will still exhibit the settings and layer order of the previous service.
For instance, if you swapped 2 layers in drawing order, then when you toggle the visibility in the layer list, the opposite layer will toggle on/off.
If you need to update a service and can't create a new web map, you can modify the JSON using AGOL Assistant
https://ago-assistant.esri.com/