cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Embed Google Slides (PowerPoint) into Databricks Interactive Notebooks Use the following code to embed your slides:slide_id = '1CYEVsDqsdfg343fwg4...

Artem_Y
Databricks Employee
Databricks Employee

Embed Google Slides (PowerPoint) into Databricks Interactive Notebooks

Use the following code to embed your slides:

slide_id = '1CYEVsDqsdfg343fwg42MtXqGd68gffP-Y16CR59c'
slide_number = 'id.p9'
 
displayHTML(f'''
<iframe
  src="https://docs.google.com/presentation/d/{slide_id}/embed?slide={slide_number}&rm=minimal"
  frameborder="0"
  width="75%"
  height="600"
></iframe>
''')

Steps to implement

  1. Modify width and height iframe parameters to suit your notebook's dimensions.
  2. Modify the Slide ID to the ID of your presentation. It is in the highlighted part of the URL below.
  3. Optionally, modify the slide_number to either the slide id you want to start on or the number (order) of the slide you would like to start on.

8F9761FE-B986-48EB-8461-0AAEA891DEDB_4_5005_c⚠️ ‎‎‎‎‎‎‏‏‎ ‎‏‏‎ ‎Make sure to share the slide first! You will see the URL slightly change with a dash extension. Otherwise, the embedding will throw an error.

1 REPLY 1

Anonymous
Not applicable

@Artem Yevtushenko​ - Thank you for sharing this solution.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group