Easily create multiple copies of your template slides using slide id
You can repeat a template slide using the slide's unique identifier to create multiple copies as needed.
Using slide_id ensures the correct slide is referenced even if the slide order or structure changes within the template.
slide_id
Programmatically:
using VBA or any library capable of reading PowerPoint XML (e.g., python-pptx).
python-pptx
Manually:
Rename the .pptx file to .zip.
.pptx
.zip
Open the ZIP and navigate to ppt/presentation.xml.
ppt/presentation.xml
Inside, look for the <p:sldIdLst> section, each <p:sldId> element has an id attribute that represents the slide’s unique ID.
<p:sldIdLst>
<p:sldId>
id
Reference: slides
Download: input.ziparrow-up-right | output.pptxarrow-up-right
Last updated 4 months ago
{ "presentation": { "template": "template.pptx", "slides": [ { "slide_id": 265 } ] } }