Unable to Share as web layer or Overwrite web layer in Pro

2773
6
Jump to solution
02-09-2022 05:06 AM
KatiePhillips1870
New Contributor III

Hello, 

Last week we noticed we are unable to "share as web layer" or "overwrite" hosted feature layers that we own. Meaning, I pulled in a dataset from ArcGIS Online (AGOL) that I created (I own), updated the symbology, and wanted to overwrite it so that the symbology changes appear in AGOL. The "overwrite web layer" function is grayed out. I read you need to make sure:

  • you are signed into your portal (I am)
  • make sure it is a hosted feature layer (it is)
  • you have privileges to update the layer (I'm an Administrator and classified as GIS Professional Advanced)

The really strange part is, we used to be able to overwrite hosted web layers with ease (this is part of our workflow) and all of a sudden we are not able to overwrite any of the data we have hosted in AGOL. We are currently working on Pro 2.8. 

Has anyone else came across this issue recently and knows how to fix it? We are at a loss on finding a solution right now as it seems we have everything set up properly. 

Below is an image of what I am seeing

KatiePhillips1870_0-1644411914043.jpeg

Thank you for any information you can give me. 

Katie

0 Kudos
1 Solution

Accepted Solutions
DruSexton1
New Contributor II

Hi Katie,

I too had a similar experience using both an institutional license and a commercial license. At first I thought it was a bug, and then I realized it was a workflow issue.

You cannot pull a layer into a local Pro session and then overwrite the layer. You can make changes to the data by adding/removing features, but you cannot make changes to the symbology or database.

You can only do that by making a local copy. But be extremely careful because if your copy does not have matching field names/types then you will corrupt, replace, and/or lose data and functionality in any web maps/apps supported by that layer.

For myself I was able to work around it by just going to the Item page for the feature layer and then clicking on the Visualization tab.

DruSexton1_1-1644946612264.png

Similarly you can do this for the database by clicking on the Data tab from the Item page.

This will help you avoid accidentally overwriting, but its not as user friendly perhaps as it would be in the ArcGIS Pro environment.

Of course this is not ideal, and may seem like a bug but when you think about it it does not make much sense for you to be able to click on an object and replace that object with itself. Rather you need an object to replace the one you intend to overwrite.

I hope that makes sense.

View solution in original post

6 Replies
CarlMorrison
Occasional Contributor

Katie,

Just have to ask, are you attempting to share from a layout or a map?  Most of those options are grayed out when sharing from a layout.

Carl

0 Kudos
KatiePhillips1870
New Contributor III

Hello Carl, 

We are attempting to share from a map.

KatiePhillips1870_0-1644415474603.png

Thank you,

Katie

0 Kudos
Robert_LeClair
Esri Notable Contributor

Are there any unsaved edits in your Map View?  This would prevent sharing as well.

0 Kudos
KatiePhillips1870
New Contributor III

No unsaved edits. This is happening across the board for us. Every datasets we have in AGOL and pull into new Pro files. 

Thank you,

Katie

0 Kudos
DruSexton1
New Contributor II

Hi Katie,

I too had a similar experience using both an institutional license and a commercial license. At first I thought it was a bug, and then I realized it was a workflow issue.

You cannot pull a layer into a local Pro session and then overwrite the layer. You can make changes to the data by adding/removing features, but you cannot make changes to the symbology or database.

You can only do that by making a local copy. But be extremely careful because if your copy does not have matching field names/types then you will corrupt, replace, and/or lose data and functionality in any web maps/apps supported by that layer.

For myself I was able to work around it by just going to the Item page for the feature layer and then clicking on the Visualization tab.

DruSexton1_1-1644946612264.png

Similarly you can do this for the database by clicking on the Data tab from the Item page.

This will help you avoid accidentally overwriting, but its not as user friendly perhaps as it would be in the ArcGIS Pro environment.

Of course this is not ideal, and may seem like a bug but when you think about it it does not make much sense for you to be able to click on an object and replace that object with itself. Rather you need an object to replace the one you intend to overwrite.

I hope that makes sense.

KatiePhillips1870
New Contributor III

Thank you Dru. This workflow worked for me. I did want to note: If you overwrite a web layer from an updated local copy, those updates do not apply to a view layer. You can go into the view layer settings and "update" the view layer, however, any symbology changes will not apply. This was weird to me because in the "preview" of the update view layer, it seems like the symbology changes are applied. However, when I viewed the updated "view" layer, the updated symbology did not carry over. I had to delete the "view" layer and recreate a new one. The new "view" layer showed the updated symbology on my public web map and experience builder. 

Thank you,

Katie Phillips

KatiePhillips1870_0-1645465995476.png