<?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 Export Web Map JSON in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/export-web-map-json/m-p/338234#M13017</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been trying to use the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00540000001m000000"&gt;Export Web Map Tool &lt;/A&gt;&lt;SPAN&gt; in ArcToolbox to export one of my local ArcGIS Server maps to PDF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Every time I keep getting the error 'Invalid JSON in WebMap'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rather handily, ESRI do not actually say where the JSON is for local maps, but just keep referring to what a generic specification should look like, which to anyone who is a webmap novice is about as handy as a hot poker up the rear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So does anybody know where exactly the JSON is for a map created with ArcGIS Server?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The location I tried was:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server name&amp;gt;/arcgis/rest/services/MyMap/MapServer?f=pjson&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I have also tried every other JSON link I could find whilst browsing around, but with no luck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help appreciated in what should probably be a simple task.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Aug 2013 09:28:06 GMT</pubDate>
    <dc:creator>GISScientist</dc:creator>
    <dc:date>2013-08-08T09:28:06Z</dc:date>
    <item>
      <title>Export Web Map JSON</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/export-web-map-json/m-p/338234#M13017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been trying to use the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00540000001m000000"&gt;Export Web Map Tool &lt;/A&gt;&lt;SPAN&gt; in ArcToolbox to export one of my local ArcGIS Server maps to PDF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Every time I keep getting the error 'Invalid JSON in WebMap'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rather handily, ESRI do not actually say where the JSON is for local maps, but just keep referring to what a generic specification should look like, which to anyone who is a webmap novice is about as handy as a hot poker up the rear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So does anybody know where exactly the JSON is for a map created with ArcGIS Server?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The location I tried was:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server name&amp;gt;/arcgis/rest/services/MyMap/MapServer?f=pjson&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I have also tried every other JSON link I could find whilst browsing around, but with no luck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help appreciated in what should probably be a simple task.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 09:28:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/export-web-map-json/m-p/338234#M13017</guid>
      <dc:creator>GISScientist</dc:creator>
      <dc:date>2013-08-08T09:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Export Web Map JSON</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/export-web-map-json/m-p/338235#M13018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if you have this error the JSON string does not conform to the ExportWebMap &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/0154/0154000004w8000000.htm"&gt;specification&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 12:47:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/export-web-map-json/m-p/338235#M13018</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2013-08-09T12:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Export Web Map JSON</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/export-web-map-json/m-p/338236#M13019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;I would point out that the link you mentioned (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server name&amp;gt;/arcgis/rest/services/MyMap/MapServer?f=pjson) gives you JSON that describes a service...not a 'Web Map'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Web Map JSON generally has to be constructed - usually by an application that has a web map somewhere.&amp;nbsp; For example, look at some of the samples for the PrintTask module in the JavaScript API (e.g., &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jssamples/widget_print_webmap.html"&gt;https://developers.arcgis.com/en/javascript/jssamples/widget_print_webmap.html&lt;/A&gt;&lt;SPAN&gt;).&amp;nbsp; What that module does is dynamically generate the JSON text based on the existing Map object that displays the map the application.&amp;nbsp; If you capture the requests that are submitted to the ExportWebMap printing service in a browser's Dev console, you can see the web map JSON that is submitted...which would follow the specification that ciava.at linked to above.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 13:05:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/export-web-map-json/m-p/338236#M13019</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-08-09T13:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Export Web Map JSON</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/export-web-map-json/m-p/338237#M13020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for another hot poker.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The help states:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"When you use the ArcGIS web APIs, you don't need to worry about constructing the JSON; the APIs take care of it for you."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to know what this actually is to input it ino a tool.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 13:30:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/export-web-map-json/m-p/338237#M13020</guid>
      <dc:creator>GISScientist</dc:creator>
      <dc:date>2013-08-09T13:30:20Z</dc:date>
    </item>
  </channel>
</rss>

