Select to view content in your preferred language

Symbology only gets updated on the Map, not on the Feature Service

1080
10
Jump to solution
12-19-2022 05:42 AM
maglourenco1
Occasional Contributor

Greetings everyone.

So I have the following problem: I set a Feature Service in my ArcGIS Online account. I tried to change the symbology of a sublayer in the Map Viewer and set an Arcade expression (as seen in next pic).

feature service 1.PNG

 

 

 

 

 

 

 

 

 

 

 

 

I then saved the sublayer (I expected) to save the new symbology on the Feature Service,

feature service 2.PNG

 

To my surprise, after I tried to open the sublayer of the Feature Service in the Map Viewer, I still saw the old symbology.

feature service sublayer 3.PNG

 

 

 

 

 

 

 

 

 

 

 

I really don't know how to effectively change the sublayer's symbology of a Feature Service. When I try to add the Feature Service to a new map, indeed the symbology has changed but the sublayer in the Feature Service itself, still has the old symbology!

Thank you very much,

Cheers

0 Kudos
1 Solution

Accepted Solutions
RussRoberts
Esri Notable Contributor

The Map Viewer in app and vis tab will not write back to the feature service and only use the item. You could update the feature service definition to use the new arcade editor if you are familiar with that process.

View solution in original post

10 Replies
RhettZufelt
MVP Notable Contributor

Changing the symbology in the map and saving it only save symbology for that map.

If yo want to change the default symbology (the symbology when you add to new map viewer), you go to the item details page, visualization, set symbology and Save (in upper left).

R_

maglourenco1
Occasional Contributor

Thank you both for your answers!

 

There is a problem with this solution - when I try to edit the symbology with an Arcade expression, I got the following error.

Previously I switched to the Map Viewer Classic as a workaround (that some people suggested in the past), but in this case I can't!

Anything I can do in this context?

 

Thanks, cheersARCGIS.PNG

0 Kudos
RussRoberts
Esri Notable Contributor

Is this an empty feature layer? If so we have a fix coming  that planned for the next release for that.  You could add a temporary feature to get around that. 

maglourenco1
Occasional Contributor

thank you for the answer.

I tried to create a feature as you suggested.

It is quite strange because when I try to open the Feature Service, the symbology is definitely updated as you can see here

arcgis 4.PNG

But when I try to open the sublayer, it still has the old symbology.

arcgis 5.PNG

This is critical for me because I intend to use the Feature Service in an app I'm currently developing for Android using ArcGIS's SDK. In case I can't in this way, the only alternative I know is to use the ArcGIS Pro software to publish a new Feature Service (but I would love to avoid the hurdle of setting a new Feature Service 😊)

Cheers

0 Kudos
RussRoberts
Esri Notable Contributor

The Map Viewer in app and vis tab will not write back to the feature service and only use the item. You could update the feature service definition to use the new arcade editor if you are familiar with that process.

maglourenco1
Occasional Contributor

Thank you for your help.

In this case I need to create a new Feature Service definition in ArcGIS Pro and set the new symbology there.

Do you know if the icons available there are the same as the ones in ArcGIS Online, or other icons are available?

0 Kudos
RussRoberts
Esri Notable Contributor

most are there. if not you can add ArcGIS Online web styles to your Pro Project under the Catalog view > Styles > Add Style and search ArcGIS Online.

maglourenco1
Occasional Contributor

Thank you for your great help!

Cheers 

0 Kudos
maglourenco1
Occasional Contributor

Unfortunately it did not work 😐

I did as you said and edit the symbology in the Feature Service sublayer Visualization tab

arcgis 1.PNG

 

After trying to open the sublayer 

arcgis 2.PNG

 

The symbology hasn't been updated..!

arcgis 3.PNG

0 Kudos