Hi there,
I've been trying to follow the instructions on this post:
A New Way To Add Web Styles in Map Viewer (esri.com) (@RussRoberts)
First of all, thanks for this. A great improvement to the web style workflow.
However, I've had some trouble, and I hope you are able to help. I cannot see my published web style in the list when I get to the "Added Styles" step in the map viewer.
I've cleaned all symbol names and keys in my stylx file i.e. there are no odd characters. I just can't see it when I go to add the style like you've described above.
Note: I can see them when I add the item to the Organisation's 2D symbol group configured in the Orgs Map settings, so I know they work okay >> This post is not about how to add them to the Organisation 2D symbol group, but how to add them to a web map like shown in the blog post above.
Do you have any tips on how to get it to show up as you've shown above? I'd like to use this alternative "Draft" workflow more (once I get it working)
- The symbols are point symbols using PNG but I've also tried SVG with the same result.
Any help much appreciated
Thanks!
Solved! Go to Solution.
Hi Kerry,
I appreciate the response and clarification. I haven't tried your resources yet but I can tell you for sure that my Feature Service did not honor the dictionary renderer. I got a default point symbol. The Map Service did though, which explains my response to Tanu above.
My workflow was to create the dictionary renderer and confirm that it works in Pro (3.5.4), as well as to edit to make sure the changes got applied correctly. All good there. Then I published that service to our 11.5 Enterprise Portal, and got those results. Do you know of any reason why that would be given that you're saying they are supported? I was only trying to upload the style as a web style as a fallback to that original workflow.
Edit for more info: I should also mention these are referenced feature services, not Hosted if that makes a different.
Hi Zach,
Hmm, I believe this should work for feature layers with referenced feature services. A few things to double check.
Make sure your layer is referencing the web style, and that sharing/permissions are set to the portal items accordingly. Also, do not check "Use symbol types compatible with all clients".
Also note that the dictionary renderer is configured with the web layer you published, not with the feature service, so you must add the feature layer portal item that you published above to your web map/app in order for it to work.
Hope that helps!
Kerry
Ok so I Marked this as a solution as well even though we've kind of got two different topics running on this thread (sorry @MelissaBrooks !). The key was here was that in my Pro document I was referencing a dictionary renderer style stored on our local network, NOT the one I had published to the web. Completing step 2 in this post was the kicker. To summarize:
What does not work: A feature layer (or service) in Enterprise 11.5 published from Pro 3.5.4 will not honor the dictionary style if the Pro document is using a locally stored style, nor can it locate and utilize a published web style after publication of the feature/map service.
What does work: Construct the dictionary style, publish that style, then use the published web style in the Pro document as the symbol renderer, then publish to Enterprise.
Thanks for the help everyone!
Thanks! we are looking to upgrade soon, but until then I will try out the AGOL assistant workflow and let you know how I get on.
It all makes sense too, thank you for the explanation/background, its good know it's happening for a reason and we have a way forwards
I can confirm the AGOL Assistant Workflow works great, we are up and running.
To summarise for the post string. We were publishing the Web Style from ArcGIS Pro 2.9.1, this was the cause of the style not showing up under the "Add Style" tool in Map Viewer.
I've marked the "solution" above.
@RussRoberts thank you for your help with this! Much appreciated.