@knozaki2001 It is a shame to force you to modify the HTML page to change the default
scalebarUnits. That should be a configurable option for the widget.
Currently there is no way to switch from miles to feet based on the map scale. Certainly possible though at first blush, I'm not sure how that would be clearly presented to the end-user in the Print widget's
@Denverino It is my understanding that version 10.0 did not provide the REST end-point urls for creating legends so the workaround at the time was the you identified. Version 10.01 and high do have that. I don't know of any other option using only your self-hosted ArcGIS Server 10.0.
Probably a longshot but If you happen to have ArcGIS Portal hosted within your network, it may have a similar "sharing" url like the one for arcgis.com.
@Denverino I assume you just need to add something like the following in your proxy config file
<serverUrl url="https://data.axds.co/gs/wms" <!-- your wms service url --> matchAll="true"/>
Overall WMS is a little headache to deal with. We try to avoid it as much as possible when using ESRI js api.
@Denverino in the viewer config file, for WMS layer, my url is something like (assume https://mrdata.usgs.gov/services/ds801 is the wms service url)
url : 'https://mrdata.usgs.gov/services/ds801?REQUEST=GetMap',
Not sure if that will help