<?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 Python toolbox in project template in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/python-toolbox-in-project-template/m-p/1268885#M66793</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I've created an ArcGIS Pro template containing av Python Toolbox. The toolbox contains several scripts in individual .py files. I've created the ArcGIS Pro template with both "Share outside of organization" and "Include Toolboxes" checked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I create a new ArcGIS Pro project based on the template, everything seems to be created as expected (map, layout and toolbox), but the python toolbox does not work. The problem is that the folder containing the scriptfiles is&amp;nbsp; moved into a folder which has the name of the original folder..&lt;/P&gt;&lt;P&gt;My toolbox contains all of the .py's in a folder called Scriptene:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TorbjrnDallkken2_0-1679924802572.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66326i5139FEC4B47D7853/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TorbjrnDallkken2_0-1679924802572.jpeg" alt="TorbjrnDallkken2_0-1679924802572.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TorbjrnDallkken2_1-1679924825372.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66327iB94FE5F7A63B6893/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TorbjrnDallkken2_1-1679924825372.jpeg" alt="TorbjrnDallkken2_1-1679924825372.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After the new project is created based on the template, the folder Scriptene is now placed inside another folder called Geodata.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TorbjrnDallkken2_2-1679924859558.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66328i5BD642E361746ABA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TorbjrnDallkken2_2-1679924859558.jpeg" alt="TorbjrnDallkken2_2-1679924859558.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This breaks the toolbox in the newly created project, since the python toolbox imports the scripts directly from Scriptene.&lt;/P&gt;&lt;P&gt;Is this a known feature of using the project template so that I need to change my toolbox, or is there something wrong (which is my guess)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2023 13:49:14 GMT</pubDate>
    <dc:creator>TorbjørnDalløkken2</dc:creator>
    <dc:date>2023-03-27T13:49:14Z</dc:date>
    <item>
      <title>Python toolbox in project template</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/python-toolbox-in-project-template/m-p/1268885#M66793</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I've created an ArcGIS Pro template containing av Python Toolbox. The toolbox contains several scripts in individual .py files. I've created the ArcGIS Pro template with both "Share outside of organization" and "Include Toolboxes" checked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I create a new ArcGIS Pro project based on the template, everything seems to be created as expected (map, layout and toolbox), but the python toolbox does not work. The problem is that the folder containing the scriptfiles is&amp;nbsp; moved into a folder which has the name of the original folder..&lt;/P&gt;&lt;P&gt;My toolbox contains all of the .py's in a folder called Scriptene:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TorbjrnDallkken2_0-1679924802572.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66326i5139FEC4B47D7853/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TorbjrnDallkken2_0-1679924802572.jpeg" alt="TorbjrnDallkken2_0-1679924802572.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TorbjrnDallkken2_1-1679924825372.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66327iB94FE5F7A63B6893/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TorbjrnDallkken2_1-1679924825372.jpeg" alt="TorbjrnDallkken2_1-1679924825372.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After the new project is created based on the template, the folder Scriptene is now placed inside another folder called Geodata.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TorbjrnDallkken2_2-1679924859558.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66328i5BD642E361746ABA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TorbjrnDallkken2_2-1679924859558.jpeg" alt="TorbjrnDallkken2_2-1679924859558.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This breaks the toolbox in the newly created project, since the python toolbox imports the scripts directly from Scriptene.&lt;/P&gt;&lt;P&gt;Is this a known feature of using the project template so that I need to change my toolbox, or is there something wrong (which is my guess)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 13:49:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/python-toolbox-in-project-template/m-p/1268885#M66793</guid>
      <dc:creator>TorbjørnDalløkken2</dc:creator>
      <dc:date>2023-03-27T13:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Python toolbox in project template</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/python-toolbox-in-project-template/m-p/1271895#M67215</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp;Do you know anything about this? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 13:51:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/python-toolbox-in-project-template/m-p/1271895#M67215</guid>
      <dc:creator>TorbjørnDalløkken2</dc:creator>
      <dc:date>2023-03-27T13:51:36Z</dc:date>
    </item>
  </channel>
</rss>

