-Working with ArcGIS Enterprise 10.8. Server federated with Portal
I've published a feature class to Portal referencing registered data from our SQL Server database. The feature layer in Portal behaves as expected and edits made are showing in the source dataset in SQL Server.... all good.
My problem is that I want to make a schema change to this feature class (add a field), but I'm having trouble getting this change to be honored when I republish to Portal.
What I've tried:
- I stop the map service in ArcGIS Server Manager to remove the lock on the feature class
- I added the field to the feature class.
- I first tried simply restarting the map service, but I couldn't see my new field in Portal.
- I then assumed that republishing was required for me to see my new field in Portal, so I overwrote the layer in Portal, but I still can not see the new field.
- I thought this was strange, so I published a new feature layer to Portal from the same data source, and even this feature layer did not show my new field!!
What is the expected workflow to get a schema change made to a feature class in SQL server (add/remove field, add domain value, etc) to be reflected in the map service in Portal?