<?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 Re: call/run another notebook in ArcGIS Notebooks Questions</title>
    <link>https://community.esri.com/t5/arcgis-notebooks-questions/call-run-another-notebook/m-p/1582759#M901</link>
    <description>&lt;P&gt;I think you just need gis.content.get rather than gis.content.search&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;from arcgis.gis import GIS&lt;BR /&gt;gis = GIS("home")&lt;/P&gt;&lt;P&gt;nb_server = gis.notebook_server[0]&lt;/P&gt;&lt;P&gt;notebook_item = gis.content.get('your notebook item ID')&lt;/P&gt;&lt;P&gt;nb_mgr = nb_server.notebooksmanager&lt;BR /&gt;nb_mgr.execute_notebook(notebook_item)&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2025 17:24:10 GMT</pubDate>
    <dc:creator>GLCAdmin</dc:creator>
    <dc:date>2025-02-06T17:24:10Z</dc:date>
    <item>
      <title>call/run another notebook</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/call-run-another-notebook/m-p/1096646#M373</link>
      <description>&lt;P&gt;i'm very new to notebooks but i have two questions that i couldn't find an answer for in the community&lt;/P&gt;&lt;P&gt;is it possible to call/run a notebook from a webhook, ie survey completed in Survey123 initiates the notebook?&lt;/P&gt;&lt;P&gt;and my second question is it possible to call/run another Notebook at the end of Notebook (ie running Notebook A but run Notebook B to create some data etc)&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Stu&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 07:46:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/call-run-another-notebook/m-p/1096646#M373</guid>
      <dc:creator>StuartMoore</dc:creator>
      <dc:date>2021-09-09T07:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: call/run another notebook</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/call-run-another-notebook/m-p/1097587#M377</link>
      <description>&lt;P&gt;thanks for the reply i'll have a play&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 12:54:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/call-run-another-notebook/m-p/1097587#M377</guid>
      <dc:creator>StuartMoore</dc:creator>
      <dc:date>2021-09-13T12:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: call/run another notebook</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/call-run-another-notebook/m-p/1097634#M379</link>
      <description>&lt;P&gt;Hi&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/159798" target="_blank" rel="noopener"&gt;@StuartMoore&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your interest in ArcGIS Notebooks. The current released version of ArcGIS Enterprise (10.9) do not support executing a notebook from webhooks. We are actively actively working on adding support for this in near future.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;Although, you can call a notebook from another notebook using execute_notebook operation available in ArcGIS API for Python:&lt;BR /&gt;&lt;BR /&gt;&lt;A title="https://developers.arcgis.com/python/api-reference/arcgis.gis.nb.html?highlight=execute_notebook#arcgis.gis.nb.notebookmanager.execute_notebook" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.nb.html?highlight=execute_notebook#arcgis.gis.nb.NotebookManager.execute_notebook" target="_blank" rel="noreferrer noopener nofollow"&gt;https://developers.arcgis.com/python/api-reference/arcgis.gis.nb.html?highlight=execute_notebook#arc...&lt;/A&gt;).&lt;BR /&gt;&lt;BR /&gt;Also, please ensure the version of&amp;nbsp;&lt;SPAN&gt;ArcGIS API for Python&amp;nbsp;&lt;/SPAN&gt;used in notebook has support for this operation.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks &amp;amp; Regards&lt;/DIV&gt;&lt;DIV&gt;Shikhar Deep&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Sep 2021 14:57:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/call-run-another-notebook/m-p/1097634#M379</guid>
      <dc:creator>shikhar_deep</dc:creator>
      <dc:date>2021-09-13T14:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: call/run another notebook</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/call-run-another-notebook/m-p/1098832#M388</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/433772"&gt;@shikhar_deep&lt;/a&gt;&amp;nbsp;i've had a play but can't seem to get it to work, it wont even find the notebookmanager maybe its not implimented in Notebooks in ArcGIS Online&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StuartMoore_0-1631776584316.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23130iB3264C1B04C47312/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StuartMoore_0-1631776584316.png" alt="StuartMoore_0-1631776584316.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 07:16:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/call-run-another-notebook/m-p/1098832#M388</guid>
      <dc:creator>StuartMoore</dc:creator>
      <dc:date>2021-09-16T07:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: call/run another notebook</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/call-run-another-notebook/m-p/1119554#M447</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/159798"&gt;@StuartMoore&lt;/a&gt;&amp;nbsp; if you may try the following.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shikhar_deep_1-1637681702951.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/28087i982FC59E50DCE1B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shikhar_deep_1-1637681702951.png" alt="shikhar_deep_1-1637681702951.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shikhar Deep&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 15:35:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/call-run-another-notebook/m-p/1119554#M447</guid>
      <dc:creator>shikhar_deep</dc:creator>
      <dc:date>2021-11-23T15:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: call/run another notebook</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/call-run-another-notebook/m-p/1137350#M473</link>
      <description>&lt;P&gt;Shikhar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the documentation, this looks like this is an Enterprise only method because one needs to get access to the notebook server. Am I interpreting that correctly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If not, how could I run a notebook from a notebook on AGOL?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 13:28:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/call-run-another-notebook/m-p/1137350#M473</guid>
      <dc:creator>DougZietz1</dc:creator>
      <dc:date>2022-01-26T13:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: call/run another notebook</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/call-run-another-notebook/m-p/1238131#M600</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;working in Agol and trying to execute a notebook&lt;/P&gt;&lt;P&gt;is it the correct syntax?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DISIG_0-1670314628111.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/57722iB0CCB810D1667BC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DISIG_0-1670314628111.png" alt="DISIG_0-1670314628111.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;i have an error message but the myItem var is a&amp;nbsp;arcgis.gis.Item&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DISIG_1-1670314672035.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/57723i7412A5B15CF5C5BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DISIG_1-1670314672035.png" alt="DISIG_1-1670314672035.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 08:19:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/call-run-another-notebook/m-p/1238131#M600</guid>
      <dc:creator>DISIG</dc:creator>
      <dc:date>2022-12-06T08:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: call/run another notebook</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/call-run-another-notebook/m-p/1539481#M835</link>
      <description>&lt;P&gt;@DISIC Did you every figure this out? I am stuck at the exact same spot with the same error.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 14:29:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/call-run-another-notebook/m-p/1539481#M835</guid>
      <dc:creator>usdajoy</dc:creator>
      <dc:date>2024-09-17T14:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: call/run another notebook</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/call-run-another-notebook/m-p/1582759#M901</link>
      <description>&lt;P&gt;I think you just need gis.content.get rather than gis.content.search&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;from arcgis.gis import GIS&lt;BR /&gt;gis = GIS("home")&lt;/P&gt;&lt;P&gt;nb_server = gis.notebook_server[0]&lt;/P&gt;&lt;P&gt;notebook_item = gis.content.get('your notebook item ID')&lt;/P&gt;&lt;P&gt;nb_mgr = nb_server.notebooksmanager&lt;BR /&gt;nb_mgr.execute_notebook(notebook_item)&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 17:24:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/call-run-another-notebook/m-p/1582759#M901</guid>
      <dc:creator>GLCAdmin</dc:creator>
      <dc:date>2025-02-06T17:24:10Z</dc:date>
    </item>
  </channel>
</rss>

