How to use web content to display a specific PowerPoint slide on your board

Here are the steps to use Web Content to display a specific slide of a PowerPoint document:

 

  1. Open the presentation in PowerPoint online
  2. Go to File → Share → Embed and Generate the code. Copy the iFrame.
  3. Target the desired slide:
  4. At the end of the src URL, add &wdSlideIndex=N (e.g., &wdSlideIndex=5 for the 5ᵗʰ slide).
  5. Retrieve the full text, add a new Web Content element, insert the text inside

Full example

Original iFrame code:

 

<iframe src="https://<tenant>.sharepoint.com/_layouts/15/Doc.aspx?sourcedoc={748237bb-3510-40a2-81b8-bf0718890b8a}&action=embedview&wdAr=1.7777777777777777" width="800" height="450" frameborder="0"></iframe>

 

Same iFrame starting on slide 2:

 

<iframe src="https://<tenant>.sharepoint.com/_layouts/15/Doc.aspx?sourcedoc={748237bb-3510-40a2-81b8-bf0718890b8a}&action=embedview&wdAr=1.7777777777777777&wdSlideIndex=2" width="800" height="450" frameborder="0"></iframe>

 

Known limitations

  • Fragile index: wdSlideIndex points to an order number. If you insert/delete/move slides, the index changes → the link may no longer target the correct slide. You will then need to change the index by editing the iFrame.
  • Undocumented parameter: wdSlideIndex works in practice, but its behavior is not guaranteed in all tenants/O365. We are dependent on Microsoft’s choices on this matter.
Web Content
Views: 304