Enable the ability to clone hosted views

742
3
06-08-2021 07:59 AM
Status: Open
DataOfficer
Occasional Contributor III

We are often creating hosted views which are highly similar, but tailored for different user groups. Currently, we have to create each view separately from scratch off of the hosted feature layer. This takes a lot of time as we have to set each of the features, fields and extent in the view definition each time. It would save a lot of time if it was possible to clone or duplicate an existing hosted view whilst still maintaining its connection to the hosted feature layer. We could then make minor modifications to the cloned views (e.g., defining different extents).

It is currently possible to save hosted feature layers as new layers, but these are independent from the hosted feature they were created from and so do not meet our needs.

3 Comments
jcarlson

You could copy the JSON from one view to another using something like ArcGIS Assistant.

DataOfficer

Thank you for the suggestion @jcarlson. I'll admit I've not worked with JSONs before. However, looking at the JSON in ArcGIS Assistant I can't see anything obvious that depicts the view definition. I may be missing something though.

RichardHowe

I've just happened across this as I'm looking to do the same. When cloning data from one portal to another why is this not possible. The use of hosted views is always being promoted by ESRI as correct practice and then they hamstring them by making them impossible to recreate.

I'll second @DataOfficer 's comment that I can;t see how cloning the json will possibly work as there is nothing obvious that explicitly defines the view within it