<?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 ExportWebMap Specifications Problem in ArcGIS Online Developers Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-developers-questions/exportwebmap-specifications-problem/m-p/392068#M471</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to wrap my head around the ExportWebMap Specification documentation - &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000004w8000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000004w8000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've created a exporting tool which takes a Web_Map_as_JSON input.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not detailed enough for me to correctly create a map document using the arcpy.mapping.ConvertWebMapToMapDocument function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In particular I am trying to access a mapServer (with supports dynamic layers set to TRUE), lets call it "FOO", and then export a selection of layers, lets say 0,1,4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The resulting MXD file which is created using arcpy.ConsolidateMap_management creates a DataFrame with a layer named "FOO" and the selection of layers as a sublayer of FOO.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DataFrame&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--Foo&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; |&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -- 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; |&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -- 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; |&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -- 4&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The solution I want to accomplish is to get the 0,1,4 layers to be a child of the DataFrame.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DataFrame&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-- 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-- 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-- 4&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've also had a look at the specification for a Feature Layer, but that doesn't allow for turning on/off labelling for features.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2014 00:41:10 GMT</pubDate>
    <dc:creator>MazWakamatsu</dc:creator>
    <dc:date>2014-04-08T00:41:10Z</dc:date>
    <item>
      <title>ExportWebMap Specifications Problem</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/exportwebmap-specifications-problem/m-p/392068#M471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to wrap my head around the ExportWebMap Specification documentation - &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000004w8000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000004w8000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've created a exporting tool which takes a Web_Map_as_JSON input.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not detailed enough for me to correctly create a map document using the arcpy.mapping.ConvertWebMapToMapDocument function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In particular I am trying to access a mapServer (with supports dynamic layers set to TRUE), lets call it "FOO", and then export a selection of layers, lets say 0,1,4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The resulting MXD file which is created using arcpy.ConsolidateMap_management creates a DataFrame with a layer named "FOO" and the selection of layers as a sublayer of FOO.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DataFrame&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--Foo&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; |&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -- 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; |&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -- 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; |&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -- 4&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The solution I want to accomplish is to get the 0,1,4 layers to be a child of the DataFrame.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DataFrame&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-- 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-- 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-- 4&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've also had a look at the specification for a Feature Layer, but that doesn't allow for turning on/off labelling for features.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 00:41:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/exportwebmap-specifications-problem/m-p/392068#M471</guid>
      <dc:creator>MazWakamatsu</dc:creator>
      <dc:date>2014-04-08T00:41:10Z</dc:date>
    </item>
  </channel>
</rss>

