Hi Michael,
Thanks for you answer.
You are right, I was using the ElectricNetworkEditor solution when I tried to add the new fields, and this solution works with the Utility Network service. My reasoning was that the ADD FIELD geoprocessing tools would be able to access the database, since the documentation of the tool doesn't indicate otherwise. I think that this tool and the others in the Fields Tools group could benefit from the addition of more details about the source of their inputs.
In the interest of giving more details, this is what I learned from Alex (Esri Technical Support) to be able to add the fields:
- First stop the service for the utility network web layer with the server manager, otherwise the tables in the database will locked.
- Since I had already established the database connection, in the catalog pane, I expanded the Utility Network Dataset and right click on the feature class where I needed to add the fields, then in the pop-up menu I clicked on Design > Fields, to open the fields view.
- Now the fields view didn't show the message that it was "read-only", and I proceeded to add the fields and save the changes.
- Finally, I re-started the web layer service in the server manager. After this, the NetworkEditor map layer reflected the added fields.
In summary, to add, modify or assign: Fields, Domains, Attribute Rules, Contingent Values or Subtypes; the web layer service has to be stop, then make the changes through the database connection.
Thanks.