Modify an existing style (.stylx)

1309
4
10-19-2021 12:03 PM
Labels (1)
BrianE1
Frequent Contributor

I have a style that I need to update (mainly colors). In Catalog Pane I right click on the Style>manage.

Every time I try and modify, Pro does not let me change anything. Almost like its locked.

I tried making a copy of the existing style and modifying that. No luck.

 

Any ideas?

0 Kudos
4 Replies
ShannonGonzales
Esri Contributor

Thank you for your style question!

I need a little bit more information about the style you are working with. If you are trying to edit any of Esri's system styles (such as the 2D, 3D, etc. styles), these are all read only and you wont be able to make changes to them in your catalog view. However, if you are working with a style you have created, you should be able to edit it. Check out this link as well: https://pro.arcgis.com/en/pro-app/latest/help/projects/manage-styles.htm under the 'Create symbols and style items' section, for more information about the read-only system styles. 

Let me know if this helps or if you still have questions, and I am happy to help. 🙂

Thanks!

 

0 Kudos
Wolfgang_Grunberg_AZ_DFFM
Regular Contributor

@ShannonGonzales How can I fix a read-only Esri stylx (e.g. Forestry_en.stylx) to make it compatible for Web Style publishing?

Esri's styles use "/" and other special characters in their names which is not supported by Web Styles. 

0 Kudos
ShannonGonzales
Esri Contributor

Thank you for your question! 

To fix the ‘read-only’ status of a style, the first thing you will need to do is to upgrade the style. If you are downloading it from the online gallery (Forestry_En.stylx), when you add it to ArcGIS Pro you will be prompted to upgrade. Choose 'yes', otherwise it will remain as a read-only file.

Once you have upgraded the style, it should be shareable. That being said, yes this style unfortunately has some limitations with sharing as a web style. There are limitations with special characters because the ‘key’ fields within a style need to be a valid for a url. Since many of these desktop styles were from ArcMap, they contain these special characters since they came from before the web style days.

The work-around for this is, unfortunately, to manually change the ‘key’ for the effected style items. When you open the ‘share as a web style’ pane, after filling out the descriptions and tags, etc., click on ‘analyze’ this will give you a list of which symbols contain these special characters, so you can find them in the style and manually change the special characters in the ‘key’ field. (see attached screenshot.)

Let me know if this helps or if you need any additional information!

Wolfgang_Grunberg_AZ_DFFM
Regular Contributor

Thank you Shannon! 

0 Kudos