<?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: Interactive Notebook with widgets in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/interactive-notebook-with-widgets/m-p/101305#M40624</link>
    <description>&lt;P&gt;You can separate the user interface (UI) from the code logic by using two notebooks.&lt;/P&gt;
&lt;P&gt;1) The first notebook will contain the code that performs the actions based on the widget inputs.&lt;/P&gt;
&lt;P&gt;2)&amp;nbsp;&lt;SPAN&gt;The second notebook will contain the widgets that users interact with.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Use &lt;CODE&gt;dbutils.widgets&lt;/CODE&gt; to create the necessary widgets.&amp;nbsp;Use the &lt;CODE&gt;%run&lt;/CODE&gt; magic command to call the logic notebook, passing the widget values as parameters.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.databricks.com/en/notebooks/widgets.html#use-databricks-widgets-with-run" target="_blank"&gt;https://docs.databricks.com/en/notebooks/widgets.html#use-databricks-widgets-with-run&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 07 Dec 2024 05:45:46 GMT</pubDate>
    <dc:creator>Mounika_Tarigop</dc:creator>
    <dc:date>2024-12-07T05:45:46Z</dc:date>
    <item>
      <title>Interactive Notebook with widgets</title>
      <link>https://community.databricks.com/t5/data-engineering/interactive-notebook-with-widgets/m-p/60307#M31631</link>
      <description>&lt;P&gt;Dear experts,&lt;/P&gt;&lt;P&gt;We need to create a notebook in order the users to insert/update values in a specific table. We have created one using widgets. However the code performed per action selected is visible to the users. Is there a way to have in a the dropdown etc widgets in a notebook available to the users and the code relative to the actions to be in another one where they won't have access?&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 11:41:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/interactive-notebook-with-widgets/m-p/60307#M31631</guid>
      <dc:creator>elgeo</dc:creator>
      <dc:date>2024-02-15T11:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive Notebook with widgets</title>
      <link>https://community.databricks.com/t5/data-engineering/interactive-notebook-with-widgets/m-p/101305#M40624</link>
      <description>&lt;P&gt;You can separate the user interface (UI) from the code logic by using two notebooks.&lt;/P&gt;
&lt;P&gt;1) The first notebook will contain the code that performs the actions based on the widget inputs.&lt;/P&gt;
&lt;P&gt;2)&amp;nbsp;&lt;SPAN&gt;The second notebook will contain the widgets that users interact with.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Use &lt;CODE&gt;dbutils.widgets&lt;/CODE&gt; to create the necessary widgets.&amp;nbsp;Use the &lt;CODE&gt;%run&lt;/CODE&gt; magic command to call the logic notebook, passing the widget values as parameters.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.databricks.com/en/notebooks/widgets.html#use-databricks-widgets-with-run" target="_blank"&gt;https://docs.databricks.com/en/notebooks/widgets.html#use-databricks-widgets-with-run&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Dec 2024 05:45:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/interactive-notebook-with-widgets/m-p/101305#M40624</guid>
      <dc:creator>Mounika_Tarigop</dc:creator>
      <dc:date>2024-12-07T05:45:46Z</dc:date>
    </item>
  </channel>
</rss>

