We are currently in the process of publishing data for our ArcGIS Open Data Hub and we would like to have the ability to hide fields in our feature service. Many of the fields within our enterprise feature classes are strictly for internal use only and we do not want to share for other users who would access our data in the Open Data Hub.
We recently contacted support to confirm this issue (Esri Case #02201567). The resulting answer was that we either needed to make a new feature class with only the fields we do want, or create a SQL view.
This is a frustrating answer, as this would require us to maintain an entirely new feature class or SQL view. Currently our data is published as a referenced service from our enterprise geodatabase. That means that when users visit our Hub they will always have access to the most current data.
In efforts to promote Open Data, ArcGIS Open Data Hub needs to have an option to turn off fields or respect hidden fields.