I am using ARC PRO 2.6.2 and I can use the Military Symbol Editor to draw my operational overlay graphics. However, when I want to publish to the web for further review/dissemination I am unable to see the 2525D symbols in the web map (only "dots" are rendered for the enemy forces). However, if I share the enemy forces layer as a web layer the proper symbols display but loose the ability to edit in the web map. Can someone shed some light on what I might try/what I may be doing wrong.
If your overlays need to display and support editing in apps built on the 3.x API, then you need to follow the workflow outlined here (Share using ArcGIS Enterprise). This workflow publishes the layer both as a map image service (which can render the military symbology on the 3.x client) and feature service (which allows access to the features and editing from the client). The Map Viewer Classic will let you add both of these layers (map and feature) to the map and will treat them as one unified layer.
If your overlays need will be used in apps built on 4.x API, you can "Share as Web Layer" to publish your layers as a feature service (from your Enterprise GBD, or hosted) from Pro, but you need to first be sure to choose the web style for 2525D in the Dictionary Renderer.
I know there are several nuances in what I've described above, so please feel free to reach out to me directly or in this thread with any questions you might have.
Can i do the same thing by using ArcGIS Desktop 10.4.1 and ArcGIS server?? Actually i want to publish Military Symbol Editor to draw my operational overlay graphics in the web map. I am currently using ArcGIS Java Script 4.x API.
I am not sure if this workflow would work with that version of ArcGIS Enterprise. It not supported using ArcMap.
Before you publish, you need to update the dictionary renderer for each layer in the Military Overlay to use the associated web style. By default, the Military Symbol Editor will use the desktop style for the military symbol dictionaries, which are installed with ArcGIS Pro.
To choose a web style instead, in the Dictionary Renderer on the Symbology Pane, you can click the More drop-down menu and then click Add custom dictionary to browse to a web style to add to the dictionary to the list. If you have a connection to ArcGIS Online, you can search for the style based on the standard name ("MIL-STD-2525B").
If you do not have a connection to ArcGIS Online, you can share a desktop style as a web style in ArcGIS Enterprise. To do that, click the More drop-down menu and then click Add dictionary to project. This will add the currently selected dictionary in the drop-down list to the list of Styles in the Catalog pane. Then you can right-click on the style in the Catalog Pane and choose Share As Web Style, which will create a new portal item for the web style. At this point, you should be able to browse to that web style as described in the previous paragraph.
The other thing you need to do before you publish is remove any group layers from the Table of Contents, since they are not supported in web feature layers.
Let me know if you have any more questions.
The JSAPI 4.x can only work with feature layers published from ArcGIS Pro which reference a dictionary web style. The only way to publish military symbols from ArcMap that will render correctly in JSAPI 4.x is as a map image service. If you need to support editing workflows, you can still publish a companion feature service to have in your web map in addition to the map image service, just don't turn the feature layer on in the map.
I hope that helps.