<?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: Use API to Clone Dashboards with Widgets in Databricks SQL? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/use-api-to-clone-dashboards-with-widgets-in-databricks-sql/m-p/12408#M7216</link>
    <description>&lt;P&gt;@Akash Bhat​&amp;nbsp;how do I clone a dashboard across workspaces? Being able to deploy dashboards (with widgets!) through the API is essential to set up proper Data Engineering workflows.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2022 06:42:45 GMT</pubDate>
    <dc:creator>Wout</dc:creator>
    <dc:date>2022-11-15T06:42:45Z</dc:date>
    <item>
      <title>Use API to Clone Dashboards with Widgets in Databricks SQL?</title>
      <link>https://community.databricks.com/t5/data-engineering/use-api-to-clone-dashboards-with-widgets-in-databricks-sql/m-p/12406#M7214</link>
      <description>&lt;P&gt;Hi, I manually created a template dashboard with one widget. I wanted to clone this dashboard using the Create Dashboard API however I don't know what to put for the widget object. What I did was use the Retrieve API on the template dashboard, and then copied the widget information to Create Dashboard API. But this just made a new dashboard with no widgets so how do you clone the widget too using the API? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, if it's possible to do that, would I be able to change the underlying query powering the widget on the cloned dashboard in the Create API?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/sql/api/queries-dashboards.html#operation/sql-analytics-create-dashboard" alt="https://docs.databricks.com/sql/api/queries-dashboards.html#operation/sql-analytics-create-dashboard" target="_blank"&gt;https://docs.databricks.com/sql/api/queries-dashboards.html#operation/sql-analytics-create-dashboard&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 19:45:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/use-api-to-clone-dashboards-with-widgets-in-databricks-sql/m-p/12406#M7214</guid>
      <dc:creator>bl12</dc:creator>
      <dc:date>2022-07-26T19:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Use API to Clone Dashboards with Widgets in Databricks SQL?</title>
      <link>https://community.databricks.com/t5/data-engineering/use-api-to-clone-dashboards-with-widgets-in-databricks-sql/m-p/12407#M7215</link>
      <description>&lt;P&gt;Hi @Belle L​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try submitting a POST request to&amp;nbsp;&lt;B&gt;/api/dashboards/{dashboard id}/clone&lt;/B&gt; API&lt;/P&gt;&lt;P&gt;with a JSON request body like so:&lt;/P&gt;&lt;P&gt;{"name": "&amp;lt;desired name of new dashboard&amp;gt;"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe, this way you can have a duplicate of the existing dashboard and widgets.&lt;/P&gt;&lt;P&gt;This is not documented yet. We have an internal ticket on this API to update the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Akash&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 10:39:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/use-api-to-clone-dashboards-with-widgets-in-databricks-sql/m-p/12407#M7215</guid>
      <dc:creator>User16752242622</dc:creator>
      <dc:date>2022-08-24T10:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Use API to Clone Dashboards with Widgets in Databricks SQL?</title>
      <link>https://community.databricks.com/t5/data-engineering/use-api-to-clone-dashboards-with-widgets-in-databricks-sql/m-p/12408#M7216</link>
      <description>&lt;P&gt;@Akash Bhat​&amp;nbsp;how do I clone a dashboard across workspaces? Being able to deploy dashboards (with widgets!) through the API is essential to set up proper Data Engineering workflows.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 06:42:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/use-api-to-clone-dashboards-with-widgets-in-databricks-sql/m-p/12408#M7216</guid>
      <dc:creator>Wout</dc:creator>
      <dc:date>2022-11-15T06:42:45Z</dc:date>
    </item>
  </channel>
</rss>

