<?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 Run ArcGIS Notebook on Button Click in ArcGIS Notebooks Questions</title>
    <link>https://community.esri.com/t5/arcgis-notebooks-questions/run-arcgis-notebook-on-button-click/m-p/1101347#M397</link>
    <description>&lt;P&gt;I have an ArcGIS Notebook that synthesizes data from several layers and outputs the data as an Excel file. To run the Notebook, I navigate to the Notebooks tab on AGO and run all cells.&lt;/P&gt;&lt;P&gt;The customer that we've created the Notebook for would like to be able to run all cells by simply clicking a button within a Dashboard that we've designed.&lt;/P&gt;&lt;P&gt;This leaves me with two questions, the first is how would I allow a Notebook to run on click. I've created Tasks to run Notebooks weekly and monthly, but the customer's request is to run it on demand by a simple button click.&lt;/P&gt;&lt;P&gt;The second item that I'll need to tackle (and I'm happy to post this elsewhere) is how I'll be able to integrate this functionality into a Dashboard.&lt;/P&gt;&lt;P&gt;I've seen that Dashboards now allow data to be downloaded from the widgets themselves, but that doesn't fully get to my need since additional processing needs to be done within the ArcGIS Notebook.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 23 Sep 2021 17:14:38 GMT</pubDate>
    <dc:creator>pmccord</dc:creator>
    <dc:date>2021-09-23T17:14:38Z</dc:date>
    <item>
      <title>Run ArcGIS Notebook on Button Click</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/run-arcgis-notebook-on-button-click/m-p/1101347#M397</link>
      <description>&lt;P&gt;I have an ArcGIS Notebook that synthesizes data from several layers and outputs the data as an Excel file. To run the Notebook, I navigate to the Notebooks tab on AGO and run all cells.&lt;/P&gt;&lt;P&gt;The customer that we've created the Notebook for would like to be able to run all cells by simply clicking a button within a Dashboard that we've designed.&lt;/P&gt;&lt;P&gt;This leaves me with two questions, the first is how would I allow a Notebook to run on click. I've created Tasks to run Notebooks weekly and monthly, but the customer's request is to run it on demand by a simple button click.&lt;/P&gt;&lt;P&gt;The second item that I'll need to tackle (and I'm happy to post this elsewhere) is how I'll be able to integrate this functionality into a Dashboard.&lt;/P&gt;&lt;P&gt;I've seen that Dashboards now allow data to be downloaded from the widgets themselves, but that doesn't fully get to my need since additional processing needs to be done within the ArcGIS Notebook.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 17:14:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/run-arcgis-notebook-on-button-click/m-p/1101347#M397</guid>
      <dc:creator>pmccord</dc:creator>
      <dc:date>2021-09-23T17:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Notebook on Button Click</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/run-arcgis-notebook-on-button-click/m-p/1101384#M398</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Currently, there isn't a way to run a notebook on-demand in ArcGIS Online. The minimum schedule interval we offer is to run every 15 minutes, but that might not fit the workflow described. We are considering on-demand implementations for the future. Keep an eye out!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 18:09:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/run-arcgis-notebook-on-button-click/m-p/1101384#M398</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-09-23T18:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Notebook on Button Click</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/run-arcgis-notebook-on-button-click/m-p/1107617#M418</link>
      <description>&lt;P&gt;Hey pmccord,&lt;/P&gt;&lt;P&gt;for your first question, I had a similar problem and I solved it with the following flow:&lt;/P&gt;&lt;P&gt;1) I exported the Notebook to python&lt;/P&gt;&lt;P&gt;2) In SQL Server, I created a&amp;nbsp; SQL Server Agent job to run my script&lt;/P&gt;&lt;P&gt;3) In SQL Server, I created a Stored Procedures to trigger the SQL Agent job created&amp;nbsp;@ previous step&lt;/P&gt;&lt;P&gt;3) In MS Power Automate I created a flow to manually trigger the stored procedures created&amp;nbsp;@ previous step&lt;/P&gt;&lt;P&gt;4) have the end users install the Power Automate App on their phone and push the button to reset their data any time they need to.&lt;/P&gt;&lt;P&gt;if this is something that could work for you, I would be more than happy to share the flow in details with screenshots.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 17:59:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/run-arcgis-notebook-on-button-click/m-p/1107617#M418</guid>
      <dc:creator>DominicRobergeIADOT</dc:creator>
      <dc:date>2021-10-14T17:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Notebook on Button Click</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/run-arcgis-notebook-on-button-click/m-p/1107870#M422</link>
      <description>&lt;P&gt;Thanks Dominic, this looks like a really nice work around. I met with the client I've developed the script for recently and they're fine with simply running the script from ArcGIS Notebook, but I imagine they will want greater flexibility in the future.&lt;/P&gt;&lt;P&gt;I'll plan to set up a similar workflow as you've presented and will let you know if I need any assistance. Thanks again!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 12:34:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/run-arcgis-notebook-on-button-click/m-p/1107870#M422</guid>
      <dc:creator>pmccord</dc:creator>
      <dc:date>2021-10-15T12:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Run ArcGIS Notebook on Button Click</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/run-arcgis-notebook-on-button-click/m-p/1152607#M492</link>
      <description>&lt;P&gt;This would be a great new feature.&amp;nbsp; Hoping it is moving up the priority list.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 15:37:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/run-arcgis-notebook-on-button-click/m-p/1152607#M492</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-03-10T15:37:29Z</dc:date>
    </item>
  </channel>
</rss>

