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:
- Open the presentation in PowerPoint online
- Go to File → Share → Embed and Generate the code. Copy the iFrame.
- Target the desired slide:
- At the end of the src URL, add &wdSlideIndex=N (e.g., &wdSlideIndex=5 for the 5ᵗʰ slide).
- 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.