Skip to main content
Version: 4.1 (2026 H2)

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. In the user interface, this template type is simply called «PowerPoint Template».


Creating​

  1. Activate the administration view and select «New Template».
  2. Select «PowerPoint Template» (Microsoft PowerPoint category).
  3. Set the «Based on» field to the desired Master template.
  4. Open the template editor and import or create the content slides.

Document Functions​

Activate the required Document Functions, typically:

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».
note

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.

Order​

The order is set in the editor by drag-and-drop. Slide templates listed there before the content template are inserted before its slides, the others after them, each in the order shown. The slides of the content template stay one block.

Condition​

The condition is JavaScript, either an expression or a function main() that returns the result:

$("Forms.ShowAppendix")
function main() {
return $("Forms.ShowAppendix") && $("Forms.CustomerName") !== "";
}

$("Name") returns the value of a Forms field or a Field: yes/no as Boolean, text as String, date as formatted text. Therefore, use fields of these three types in conditions. The helper functions from Fields such as $.getText(…) or $.formatDate(…) are not available in conditions, only $("Name").

Always compare text fields in conditions, as in the example with !== "". Use only yes/no fields directly as a condition.

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;
}