Copy Embedded User-Defined Dashboard Using API

Hi all, I know that many people have wondered if it’s possible (and how to) copy a user-defined (UDD) dashboard using the API. In the past, people have suggested using gzr but not everyone wants to use gzr. I’ve created a basic python script that uses only API calls to copy a UDD (both content and layout). The main use case here is to copy an embedded UDD. Shared embedded dashboards can generally be copied by using the import_lookml_dashboard end point.

Limitations

  • Cannot copy dashboards that have text tiles (at this moment, plan to fix this as soon as I have time)
  • Cannot copy dashboards that have Looks as tiles. Need to convert all Looks to tiles before copying.

The code can be found here

Hope this helps some people!

3 2 460
2 REPLIES 2

Hey @slater,

Wanted to thank you for sharing. This is exactly what we needed, sadly, we need it 4-months ago. And we didn’t get permission to share our solution, so glad you stepped in.

Kind regards,
–Thomas

A bummer that I wasn’t able to help earlier!

Cheers
-Slater