PowerPoint Content Template
The content template contains the actual content slides that are opened automatically when a new presentation is created. It is based on a Master template and inherits its slide layouts and corporate design.
Creating
- Activate the administration view and select «New Template».
- Select «PowerPoint Template» (Microsoft PowerPoint category).
- Set the «Based on» field to the desired Master template.
- Open the template editor and import or create the content slides.
Document Functions
Activate the required Document Functions, typically:
- Forms — user input before generation
- Fields — data binding via JavaScript
- Placeholder Mapping — populates placeholders from the Master template
- Design Conversion — applies CI/CD design to imported presentations
Linking slide templates
In the template editor, under the «Slides» tab, slide templates can be assigned:
- «+ On generation» — the slide is inserted automatically during generation. Template slides already defined in the editor remain before it; the order can be adjusted by dragging the slide above the template.
- «+ Optional» — the slide is available to the user under «Slides».
A slide assigned via «+ On generation» can also be inserted conditionally: click the slide layout and, under «Settings», switch the selection from «Always insert this subtemplate.» to «Only insert this subtemplate if the condition is met:» and define the desired condition.
Example: computed footer field
Fields can be composed via JavaScript. The following example fills the FooterFullString field by concatenating the translated page label, the slide number (optionally incl. the total slide count), the footer text, the presentation date and the classification:
function main () {
if ($("Forms.Presentation.TotalSlideNumber")) {
var elements =
[
$("translationPage") + " " + $("PowerPoint.SlideNumber") + " " + $("translationPageOf") + " " + $("PowerPoint.SlideCount"),
$("Forms.Presentation.Footer"),
$.getDateAsString("Forms.Presentation.Date"),
$("Forms.Presentation.Classification"),
];
} else {
var elements =
[
$("translationPage") + " " + $("PowerPoint.SlideNumber"),
$("Forms.Presentation.Footer"),
$.getDateAsString("Forms.Presentation.Date"),
$("Forms.Presentation.Classification"),
];
}
var result = $.joinNonEmpty(", ", elements);
return result;
}