<?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: Automate running the first two command cells of all my notebooks in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/automate-running-the-first-two-command-cells-of-all-my-notebooks/m-p/35343#M5025</link>
    <description>&lt;P&gt;have you tried dbutils.notebook.exit('whatever you want to type here') after the two cells?&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2023 12:04:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-06-27T12:04:33Z</dc:date>
    <item>
      <title>Automate running the first two command cells of all my notebooks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/automate-running-the-first-two-command-cells-of-all-my-notebooks/m-p/35338#M5024</link>
      <description>&lt;P&gt;I extensively use widgets in my Databricks notebooks, to provide interactivity to the community that runs my notebooks interactively. In the current setup we have, whenever I push my notebooks from dev to prod, the widgets are erased and have I have to create them manually. We know that this can be avoided by changing the way we move them from dev to prod, but for another issue, this is not possible yet. So in the meantime, my question is: Is it possible to write a notebook that would loop through all the notebooks in the same folder, and simply run the first two command cells in every notebook? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 11:00:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/automate-running-the-first-two-command-cells-of-all-my-notebooks/m-p/35338#M5024</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-27T11:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Automate running the first two command cells of all my notebooks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/automate-running-the-first-two-command-cells-of-all-my-notebooks/m-p/35343#M5025</link>
      <description>&lt;P&gt;have you tried dbutils.notebook.exit('whatever you want to type here') after the two cells?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 12:04:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/automate-running-the-first-two-command-cells-of-all-my-notebooks/m-p/35343#M5025</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-27T12:04:33Z</dc:date>
    </item>
  </channel>
</rss>

