<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom Print Service Scalebar Properties in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-print-service-scalebar-properties/m-p/158392#M774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;{"mapOptions":{"showAttribution":false,"extent":{"xmin":449678.6470890906,"ymin":520631.85906350036,"xmax":632339.5564109093,"ymax":578434.2466682756,"spatialReference":{"wkid":3071}},"spatialReference":{"wkid":3071}},"operationalLayers":[{"id":"lyrBaseEditing","title":"lyrBaseEditing","opacity":1,"minScale":0,"maxScale":0,"url":"http://apwmad0d1600/arcgis/rest/services/PUBLIC/PUBLIC_Base_WTM_INT/MapServer","visibleLayers":null,"layers":[]},{"id":"map_graphics","minScale":0,"maxScale":0,"featureCollection":{"layers":[]}}],"exportOptions":{"outputSize":[500,400],"dpi":96},"layoutOptions":{"titleText":"Test Title","copyrightText":"in R 2013","customTextElements":[{"Title":"Test Title"},{"Compartment":"22"},{"Text 2":"40 Acres"},{"Text 1":"Ashland"},{"Forester":"Smokey Bear"},{"userId":"KG"},{"TRS0":""},{"TRS1":""},{"TRS2":""},{"TRS3":""},{"Property":"LINCOLN COUNTY FOREST"}],"scaleBarOptions":{"metricUnit":"Kilometers","metricLabel":"km","nonMetricUnit":"Miles","nonMetricLabel":"mi"},"legendOptions":{"operationalLayers":[{"id":"lyrBaseEditing","subLayerIds":[10,14,15,17,21,22,25,29,30,38,39,41,42]}]}}}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Oct 2013 19:56:59 GMT</pubDate>
    <dc:creator>KevinGooss</dc:creator>
    <dc:date>2013-10-08T19:56:59Z</dc:date>
    <item>
      <title>Custom Print Service Scalebar Properties</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-print-service-scalebar-properties/m-p/158389#M771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;10.1 sp1 ags .net&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a custom ExportWebMap Task as outlined here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000005n1000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000005n1000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my custom mxd layout I have two scalebars - one shows miles the other show feet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i generate my print output all scalebars show miles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can i get the scalebar to show feet?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 19:34:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-print-service-scalebar-properties/m-p/158389#M771</guid>
      <dc:creator>KevinGooss</dc:creator>
      <dc:date>2013-10-03T19:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Print Service Scalebar Properties</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-print-service-scalebar-properties/m-p/158390#M772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;can you please share the json being sent out from your app with me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 17:00:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-print-service-scalebar-properties/m-p/158390#M772</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2013-10-04T17:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Print Service Scalebar Properties</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-print-service-scalebar-properties/m-p/158391#M773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;here it is, lots of coords because there are selections&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 19:53:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-print-service-scalebar-properties/m-p/158391#M773</guid>
      <dc:creator>KevinGooss</dc:creator>
      <dc:date>2013-10-08T19:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Print Service Scalebar Properties</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-print-service-scalebar-properties/m-p/158392#M774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;{"mapOptions":{"showAttribution":false,"extent":{"xmin":449678.6470890906,"ymin":520631.85906350036,"xmax":632339.5564109093,"ymax":578434.2466682756,"spatialReference":{"wkid":3071}},"spatialReference":{"wkid":3071}},"operationalLayers":[{"id":"lyrBaseEditing","title":"lyrBaseEditing","opacity":1,"minScale":0,"maxScale":0,"url":"http://apwmad0d1600/arcgis/rest/services/PUBLIC/PUBLIC_Base_WTM_INT/MapServer","visibleLayers":null,"layers":[]},{"id":"map_graphics","minScale":0,"maxScale":0,"featureCollection":{"layers":[]}}],"exportOptions":{"outputSize":[500,400],"dpi":96},"layoutOptions":{"titleText":"Test Title","copyrightText":"in R 2013","customTextElements":[{"Title":"Test Title"},{"Compartment":"22"},{"Text 2":"40 Acres"},{"Text 1":"Ashland"},{"Forester":"Smokey Bear"},{"userId":"KG"},{"TRS0":""},{"TRS1":""},{"TRS2":""},{"TRS3":""},{"Property":"LINCOLN COUNTY FOREST"}],"scaleBarOptions":{"metricUnit":"Kilometers","metricLabel":"km","nonMetricUnit":"Miles","nonMetricLabel":"mi"},"legendOptions":{"operationalLayers":[{"id":"lyrBaseEditing","subLayerIds":[10,14,15,17,21,22,25,29,30,38,39,41,42]}]}}}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 19:56:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-print-service-scalebar-properties/m-p/158392#M774</guid>
      <dc:creator>KevinGooss</dc:creator>
      <dc:date>2013-10-08T19:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Print Service Scalebar Properties</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-print-service-scalebar-properties/m-p/158393#M775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kevin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry it took me a while to respond.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case, you should &lt;/SPAN&gt;&lt;STRONG&gt;remove "scaleBarOptions" &lt;/STRONG&gt;&lt;SPAN&gt;option from the request that going to the printing service. When printing service does not find that element in the request, it does not touch any scale bars elements on the layout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is how it'd look:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;{"mapOptions":{"showAttribution":false,"extent":{"xmin":449678.6470890906,"ymin":520631.85906350036,"xmax":632339.5564109093,"ymax":578434.2466682756,"spatialReference":{"wkid":3071}},"spatialReference":{"wkid":3071}},"operationalLayers":[{"id":"lyrBaseEditing","title":"lyrBaseEditing","opacity":1,"minScale":0,"maxScale":0,"url":"http://apwmad0d1600/arcgis/rest/services/PUBLIC/PUBLIC_Base_WTM_INT/MapServer","visibleLayers":null,"layers":[]},{"id":"map_graphics","minScale":0,"maxScale":0,"featureCollection":{"layers":[]}}],"exportOptions":{"outputSize":[500,400],"dpi":96},"layoutOptions":{"titleText":"Test Title","copyrightText":"in R 2013","customTextElements":[{"Title":"Test Title"},{"Compartment":"22"},{"Text 2":"40 Acres"},{"Text 1":"Ashland"},{"Forester":"Smokey Bear"},{"userId":"KG"},{"TRS0":""},{"TRS1":""},{"TRS2":""},{"TRS3":""},{"Property":"LINCOLN COUNTY FOREST"}],"legendOptions":{"operationalLayers":[{"id":"lyrBaseEditing","subLayerIds":[10,14,15,17,21,22,25,29,30,38,39,41,42]}]}}}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The 'scaleBarOptions' in ExportWebMap specs (that Printing service uses) is meant to modify unit (on per request basis) of a scalebar in metric and another in non-metric system. e.g. you can have a scalebar to show units in yards and another in meters or miles and km.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is not designed to modify units of scalebars in the same system but two different units (e.g. mi and yards in your case, or another example where you would want to have two scale bars showing units in 'km' and 'meters').&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 16:24:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-print-service-scalebar-properties/m-p/158393#M775</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2013-10-11T16:24:26Z</dc:date>
    </item>
  </channel>
</rss>

