Build and Upload a PPTX Template
Design slides in Microsoft PowerPoint, add bracketed S-Docs syntax, upload the .pptx file, and generate dynamic presentations from Salesforce data.
Use this page when you want slide-native design in Microsoft PowerPoint and a generated .pptx output from Salesforce data.
A PPTX template is built in PowerPoint, then uploaded to S-Docs for generation.
Use PPTX when slide design matters more than HTML layout or Word editing.
Before you start
Make sure you have:
a new S-Docs template with format set to PPTX
the correct Related To Type for your base record
a
.pptxfile you can edit in Microsoft PowerPointthe right upload path for your S-Docs version
PPTX upload behavior depends on whether Enable New Microsoft Template Upload is checked.
Checked — use the newer Microsoft template upload flow. This applies to Summer 2025 (
v10.0) and later. These templates generate through S-Docs LWCs or the SDK.Not checked — use the legacy upload flow in Template Editor. These templates generate through the legacy custom S-Docs button.
Build and upload a PPTX template
Core PPTX syntax patterns
Merge fields
Wrap merge fields in square brackets.
Use this same pattern for standard field paths too.
Conditional logic
Wrap both RENDER tags in square brackets.
Keep merge fields inside rendered content in square brackets too.
Use the same operators you use in standard conditional logic.
Nested render blocks work too.
Named queries
Wrap both the query block and output fields in square brackets.

If you need a filtered or offset result, keep the same square-bracket wrapping.
Related list tables
PPTX related lists render inside PowerPoint tables. Because the related list syntax is integrated within the styling table, no <class> or <tableformat> tags are needed.

Simple steps:
Insert your styling table: header line, 2 rows, and as many columns as you need.
Add the whole related list code block inside the table.
(For
<soql>tables) Make sure each<column>matches a field returned inSELECT.
Common syntax mistakes
Field prints as text: add square brackets around the merge field
Conditional block does not run: wrap both opening and closing
RENDERtags in square bracketsNamed query returns nothing: confirm the output field is wrapped in square brackets and included in
SELECTRelated list table breaks: confirm the table has a header row, an odd row, and an even row
Only the first table cell populates: recreate the PowerPoint table and simplify table styling
What PPTX supports
PPTX templates support these common S-Docs capabilities:
merge fields
conditional logic
named queries
related list tables
images and slide-native PowerPoint formatting
generation through S-Docs LWCs and the SDK when uploaded through the newer Microsoft template upload flow
Important PPTX limitations
Keep these PPTX-specific rules in mind:
Live Edit is not supported.
Template headers and footers are not supported.
Component templates are not supported.
S-Sign is not supported.
Related list tables cannot span multiple pages or slides.
You may need
LIMITandOFFSETto control table size.Templates uploaded through the legacy Template Editor have an approximate limit of 10 slides.
Next reads by goal
Need a PPTX overview? Read PowerPoint (PPTX).
Need PPTX troubleshooting? Read Troubleshoot PPTX Generation.
Need table wrapper syntax? Read Related List Structure In Microsoft Templates (DOCX, PPTX, XLSX).
Need table setup examples? Read How to: Create a Table In Microsoft Templates (DOCX, PPTX, XLSX).
Need conditional syntax? Read Conditional Logic In Microsoft Templates (DOCX, PPTX, XLSX).
Need named query syntax? Read Named Queries In Microsoft Templates (DOCX, PPTX, XLSX).
Last updated
Was this helpful?


