<?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 ExecuteError: Missing or invalid layout template file.  Failed to execute (Print Map Script). Failed to execute (Print Map Script).&amp;lt;/Msg&amp;gt; in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/executeerror-missing-or-invalid-layout-template/m-p/1363498#M69460</link>
    <description>&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you all are well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the web map application built using Experience Builder, Now I need to use the print tool to print a map.&lt;/P&gt;&lt;P&gt;Now the print Tool will Generate JSON, This JSON I need to use ArcGIS Pro(Customize Geoprocessing Tool) to Export the PDF.&lt;/P&gt;&lt;P&gt;ArcGIS Pro is the only way to use the Pre-Prepared Templates while I have more than 100 for different Zones, Sizes, Layout, and map details like logos and others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created that GeoProcessing tool and run it on ArcGIS Pro, Whatever JSON has been sent will print the map with the proper template.&lt;/P&gt;&lt;P&gt;The Issue is once I have Published that service from ArcGIS Pro 3.2 on the ArcGIS Server 10.8 I have The Error below:&lt;/P&gt;&lt;P&gt;ExecuteError: Missing or invalid layout template file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Failed to execute (Print Map Script).&lt;/P&gt;&lt;P&gt;Failed to execute (Print Map Script).&amp;lt;/Msg&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any compatibility issues Reading the JSON of ArcGIS online map or Experience Builder map once using ArcGIS Server 10.8 while it works fine on ArcGIS Pro?&lt;/P&gt;&lt;P&gt;Note: I have downgraded ArcGIS Pro to 2.4 but the result was the same !!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;is arcpy.server.ExportWebMap() on ArcGIS Server 10.8 accepting syntax of the JSON as a map from Experience builder or ArcGIS online Map print tool???&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Dec 2023 10:25:15 GMT</pubDate>
    <dc:creator>BahaaKhleifat_2</dc:creator>
    <dc:date>2023-12-21T10:25:15Z</dc:date>
    <item>
      <title>ExecuteError: Missing or invalid layout template file.  Failed to execute (Print Map Script). Failed to execute (Print Map Script).&lt;/Msg&gt;</title>
      <link>https://community.esri.com/t5/python-questions/executeerror-missing-or-invalid-layout-template/m-p/1363498#M69460</link>
      <description>&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you all are well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the web map application built using Experience Builder, Now I need to use the print tool to print a map.&lt;/P&gt;&lt;P&gt;Now the print Tool will Generate JSON, This JSON I need to use ArcGIS Pro(Customize Geoprocessing Tool) to Export the PDF.&lt;/P&gt;&lt;P&gt;ArcGIS Pro is the only way to use the Pre-Prepared Templates while I have more than 100 for different Zones, Sizes, Layout, and map details like logos and others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created that GeoProcessing tool and run it on ArcGIS Pro, Whatever JSON has been sent will print the map with the proper template.&lt;/P&gt;&lt;P&gt;The Issue is once I have Published that service from ArcGIS Pro 3.2 on the ArcGIS Server 10.8 I have The Error below:&lt;/P&gt;&lt;P&gt;ExecuteError: Missing or invalid layout template file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Failed to execute (Print Map Script).&lt;/P&gt;&lt;P&gt;Failed to execute (Print Map Script).&amp;lt;/Msg&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any compatibility issues Reading the JSON of ArcGIS online map or Experience Builder map once using ArcGIS Server 10.8 while it works fine on ArcGIS Pro?&lt;/P&gt;&lt;P&gt;Note: I have downgraded ArcGIS Pro to 2.4 but the result was the same !!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;is arcpy.server.ExportWebMap() on ArcGIS Server 10.8 accepting syntax of the JSON as a map from Experience builder or ArcGIS online Map print tool???&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 10:25:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/executeerror-missing-or-invalid-layout-template/m-p/1363498#M69460</guid>
      <dc:creator>BahaaKhleifat_2</dc:creator>
      <dc:date>2023-12-21T10:25:15Z</dc:date>
    </item>
  </channel>
</rss>

