AnsweredAssumed Answered

Hosted feature layer views and domains

Question asked by rvburton Champion on Jul 6, 2017
Latest reply on Sep 5, 2018 by KGerrow-esristaff

I have been exploring how to Create hosted feature layer views.  My goal is to use the view to hide certain fields while limiting editing (as discussed in other threads, such as: Restrict editing to authorized users while leaving the map viewable to the public).


When using Set View Definition >> Define Fields for my feature layer, the fields using domains are checked and grayed out. Thus the “visibility can’t be changed”; these fields cannot be hidden. Does anyone know the reason for this limitation?


However,  it appears the json file for the layer can be edited to hide those fields using domains by setting “visible” : false.  Is this a suitable workaround?