ArcGIS Online Hosted Views for Feature Services

363
6
01-23-2019 06:46 AM
Status: Open
Col_Forbin
New Contributor III

It would be useful to be able to create a hosted view in ArcGIS Online using a feature service published from ArcGIS Server.  Also to allow editing and adding features through this view that would affect the base feature service in the enterprise geodatabase.  Doing this would provide similar functionality to creating a spatial view in the enterprise geodatabase, however it would allow editing and adding features (currently one cannot edit or add features of a spatial view).

6 Comments
CynthiaParker1

In ArcGIS Online you can register a feature service you have published in Server. In your "Content" page you can "Add Item" -> "From the Web". If it's secured you can even add in credentials so you don't have to log in every time. Then you can easily add it to maps to edit it. Is that the sort of thing you are looking for? 

Col_Forbin

Not really.  I would like to be able to register the feature service in AGOL, and then create a hosted view in AGOL based on that service.  So for example if we registered a feature service with points representing trees, we could then create a hosted view based on this feature service to include only those points with "Active" in the Status attribute.  When this hosted view was added to a map in AGOL it would only display the "Active" trees. Then, the user could add and update features in this view, and those edits and inserts would flow through to the feature service, ultimately affecting the table in the enterprise geodatabase.

CynthiaParker1

Could you just add a filter on the service after you've added it to the map? Or you could publish it with a definition query applied. I know it's not quite the same, but in the end it would have the same effect.

FrancisHourigan1

We have run into a similar problem where a hosted feature service in ArcGIS online cannot have a view layer associated with it if you are using a python script to overwrite and update the service. It is very limiting to not have the view layer functionality.

Col_Forbin

Yes, that would work for some things.  It would be nice to be able to create a hosted view layer based on a feature service though so that it could be treated as an item in AGOL.  Makes it more convenient to create one view and then add it to several apps and maps instead of re-creating the filter each time.

Col_Forbin

The other use I could see for this is in ArcGIS Hub with open data.  It would be great to be able to have a view that references a feature service, but only the view is shared with the open data group and exposed to the public.  This way you could expose only a subset of the feature service, or simply use it to change attribute names without using alias names in the geodatabase.