I overwrote a hosted feature layer from Pro because I wanted to use updated custom symbology from Pro. The layer overwrote fine and the symbology looked great.
I expected the hosted feature layer view of this layer to inherit the updated symbology, but it did not. I went to the view's settings and clicked "Update View", but the symbology did not update.
I cannot change the symbology in the view's web map because this is a custom symbol that is not available on the portal.
Is my only option to create a new view of this overwritten layer?
Solved! Go to Solution.
Yes you will have to recreate it or open the view layer in Pro and symbolize it that way since that view layer is technically independent. There are scripts you could probably find do to this as well.
"However, because the view is a separate item, you can change properties and settings on the view item separately from the hosted feature layer item from which it is created. " - Esri
Yes you will have to recreate it or open the view layer in Pro and symbolize it that way since that view layer is technically independent. There are scripts you could probably find do to this as well.
"However, because the view is a separate item, you can change properties and settings on the view item separately from the hosted feature layer item from which it is created. " - Esri
Hey @Laura could you possibly share the documentation as well :)?
What links are you looking for beyond what I shared below?
@Laura what version of Enterprise was this feature added?
I am attempting to update symbology of a hosted views on Enterprise 11.1 using the method you have mentioned (from ArcGIS Pro), however it does not seem to save these changes to the view in portal.
Looks like the Save web layer tool is available in ArcPro 3.2 and beyond.
https://pro.arcgis.com/en/pro-app/3.2/help/sharing/overview/save-a-web-feature-layer.htm
We overwrote an AGOL feature service that is the parent of a view. We tried to use 'Update View', but noticed that our view's symbology got set to black. We tried setting the symbology color for the view in the Visualization tab, but the symbology color remains black in the view's REST service so it appears black in all of the apps that display that layer. I read above that it is recommended that we delete and recreate the view to get this color setting to appear, however, we cannot risk changing the URL on this service as it is hard-coded into apps we cannot edit. Is there a workflow you can think of to achieve this color change with the existing view without changing its URL? Thanks for ideas.
You can just change the symbology within the map you are working with. Or is it not letting you do that?
You can also bring your view layer into Pro and then save the web layer.
Here is what my view layer looked like in the map to begin with:
After editing in Pro and saving as a web layer it now looks like this:
Right click on the layer in Pro - Sharing - Save web layer
https://pro.arcgis.com/en/pro-app/latest/help/sharing/overview/save-a-web-feature-layer.htm
If you're nervous about something breaking I would try this out in a copy of your application and use a test environment.
Thanks so much Laura, this is good to know. We're also in a tricky situation where a 3rd party is using our View service in their application and they need to display the right color (not black). They don't have the technical ability to set the color within their application so we were hoping our REST service would dictate the color. They also don't have the ability to sub in new URLs so we were hoping to avoid deleting and recreating the View as this would create a new URL I believe.
By URL are we talking this Item ID in the URL?
When I used the save web layer tool that part of the URL was unchanged!