<?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 Topographic vector tile basemap not printing using geoprocessing print service in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/topographic-vector-tile-basemap-not-printing-using/m-p/1397491#M84052</link>
    <description>&lt;P&gt;Hello All, I have published a geoprocessing print service using ArcGIS pro on our on premise GIS server. The print service is being called from one of the web application using javascript api as below&lt;/P&gt;&lt;P&gt;let inputParameters: {&lt;BR /&gt;Web_Map_as_JSON: string;&lt;BR /&gt;Format: string;&lt;BR /&gt;Layout_Template: string;&lt;BR /&gt;Output_File: string;&lt;BR /&gt;} = { Web_Map_as_JSON: &lt;STRONG&gt;jsonstring&lt;/STRONG&gt;, Layout_Template: layout, Format: "PDF", Output_File: "TOPO" };&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;geoProcessor.execute(printURL, inputParameters)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;printURL is the url of the print service and&amp;nbsp;jsonstring is generated using the format mentioned here&amp;nbsp;&lt;A href="https://enterprise.arcgis.com/en/server/latest/publish-services/windows/exportwebmap-specification.htm" target="_blank" rel="noopener"&gt;https://enterprise.arcgis.com/en/server/latest/publish-services/windows/exportwebmap-specification.htm&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;I am successfully able to generate pdf when my basemap is as below in the&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"baseMap"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"title"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Topo_Map"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"baseMapLayers"&lt;/SPAN&gt;&lt;SPAN&gt;: [&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"url"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="https://services.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer" target="_blank" rel="noopener"&gt;https://services.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer&lt;/A&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;but , the print service generates a blank pdf when I try to use the Vector tile Topographic basemap&amp;nbsp;&lt;A href="https://www.arcgis.com/home/item.html?id=7378ae8b471940cb9f9d114b67cd09b8" target="_blank" rel="noopener"&gt;https://www.arcgis.com/home/item.html?id=7378ae8b471940cb9f9d114b67cd09b8&lt;/A&gt;&amp;nbsp;and my basemap configuration as per the export webmapspecification looks like below&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"baseMapLayers": [ { "id": "VectorTile_1933", "type": "VectorTileLayer", "layerType": "VectorTileLayer", "title": "World_Basemap", "styleUrl": "&lt;A href="https://www.arcgis.com/sharing/rest/content/items/18d32a699af64bfba4e78eba5a4dd705/resources/styles/root.json" target="_blank" rel="noopener"&gt;https://basemaps.arcgis.com/b2/arcgis/rest/services/World_Basemap/VectorTileServer/resources/styles/root.json&lt;/A&gt;", "visibility": true, "opacity": 1 } ]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;any help on this is much appreciated.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Rauf&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 18 Mar 2024 19:48:29 GMT</pubDate>
    <dc:creator>mohammed_raufshaikh</dc:creator>
    <dc:date>2024-03-18T19:48:29Z</dc:date>
    <item>
      <title>Topographic vector tile basemap not printing using geoprocessing print service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/topographic-vector-tile-basemap-not-printing-using/m-p/1397491#M84052</link>
      <description>&lt;P&gt;Hello All, I have published a geoprocessing print service using ArcGIS pro on our on premise GIS server. The print service is being called from one of the web application using javascript api as below&lt;/P&gt;&lt;P&gt;let inputParameters: {&lt;BR /&gt;Web_Map_as_JSON: string;&lt;BR /&gt;Format: string;&lt;BR /&gt;Layout_Template: string;&lt;BR /&gt;Output_File: string;&lt;BR /&gt;} = { Web_Map_as_JSON: &lt;STRONG&gt;jsonstring&lt;/STRONG&gt;, Layout_Template: layout, Format: "PDF", Output_File: "TOPO" };&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;geoProcessor.execute(printURL, inputParameters)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;printURL is the url of the print service and&amp;nbsp;jsonstring is generated using the format mentioned here&amp;nbsp;&lt;A href="https://enterprise.arcgis.com/en/server/latest/publish-services/windows/exportwebmap-specification.htm" target="_blank" rel="noopener"&gt;https://enterprise.arcgis.com/en/server/latest/publish-services/windows/exportwebmap-specification.htm&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;I am successfully able to generate pdf when my basemap is as below in the&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"baseMap"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"title"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Topo_Map"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"baseMapLayers"&lt;/SPAN&gt;&lt;SPAN&gt;: [&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"url"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="https://services.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer" target="_blank" rel="noopener"&gt;https://services.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer&lt;/A&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;but , the print service generates a blank pdf when I try to use the Vector tile Topographic basemap&amp;nbsp;&lt;A href="https://www.arcgis.com/home/item.html?id=7378ae8b471940cb9f9d114b67cd09b8" target="_blank" rel="noopener"&gt;https://www.arcgis.com/home/item.html?id=7378ae8b471940cb9f9d114b67cd09b8&lt;/A&gt;&amp;nbsp;and my basemap configuration as per the export webmapspecification looks like below&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"baseMapLayers": [ { "id": "VectorTile_1933", "type": "VectorTileLayer", "layerType": "VectorTileLayer", "title": "World_Basemap", "styleUrl": "&lt;A href="https://www.arcgis.com/sharing/rest/content/items/18d32a699af64bfba4e78eba5a4dd705/resources/styles/root.json" target="_blank" rel="noopener"&gt;https://basemaps.arcgis.com/b2/arcgis/rest/services/World_Basemap/VectorTileServer/resources/styles/root.json&lt;/A&gt;", "visibility": true, "opacity": 1 } ]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;any help on this is much appreciated.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Rauf&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 Mar 2024 19:48:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/topographic-vector-tile-basemap-not-printing-using/m-p/1397491#M84052</guid>
      <dc:creator>mohammed_raufshaikh</dc:creator>
      <dc:date>2024-03-18T19:48:29Z</dc:date>
    </item>
  </channel>
</rss>

