Hello,
I downloaded a FGDB which includes a point layer and 6 related inspection tables from AGOL. In Pro added new names to an existing domain, deleted a field from the feature class that was supposed to be of Data Type Date but was incorrectly created as Text, recreated the field with Data Type Date, tried both overwriting and re-publishing to AGOL and each time the related table Display Names and Field Names show up blank in the Data tab.
I cannot select anything below the Display and Field Names in order to edit the names. Layers show up fine in Field Maps and Field crews can add data but I cannot re-create Arcade expressions because FeatureSetByRelationshipName( ... ) is blank.
Does anyone know how to resolve this?
I hope others share their experiences with ESRI on this. Because of this bug my organization can't use ESRI Solutions. Because downloading as a FGDB to modify the feature layers to fit our needs and then overwriting the online layer breaks the relationship classes. In the meantime we can try to publish as a new layer then painstakingly reconfigure all the maps & apps within the Solution. But that rather defeats the entire purpose of a Solution.
We switched to using ArcGIS Enterprise, so this has no longer been an issue for us, but back when needed to modify a feature service hosted in AGOL, we had two solutions for this issue:
1. Download the FGDB, delete all of the relationship classes and recreate them before overwriting the online layer.
2. Use the Add To Definition operation in the rest API to add fields, tables and new relationships classes.
https://developers.arcgis.com/rest/services-reference/online/add-to-definition-feature-layer-.htm
There are also remove from definition and update definition operations:
https://developers.arcgis.com/rest/services-reference/online/update-definition-feature-layer-.htm
Hope this helps!