HomeGuidesRecipesAPI
HomeGuidesAPILog In
Guides
These docs are for v10. Click to read the latest docs for v31.

Template - Power Point

Infiniti supports Microsoft PowerPoint Presentation as an output. Text and images can be inserted, removed or repeated within a slide. This feature is designed for creating dynamic PowerPoint presentations with minimal effort.

How to insert a bookmark/placeholder into PowerPoint

Infiniti 8.1+ supports tags as placeholders. A tag is a plain text placeholder name wrapped in double curly braces, {{text/image name}}. For example: {{FirstName}} {{LastName}} with a user ID of {{IDNumber}}. The new tags can be used in place of bookmarks. Tags can also be used for ‘close gaps’ and ‘repeating tags’.

To create a close gap or a repeat tag range, begin the tag name with ‘#’ at the beginning of the name and close it with the same name at the end (prefixed with a forward slash '/'). For example: {{# Points Repeat}} some normal text {{points}} more normal document text {{/ Points Repeat}}. Here, the text between {{#Points Repeat}} and {{/ Points Repeat}} will be repeated for every values for {{points}}.

To bookmark a slide

  1. Go to the View tab and click ‘Macros’.
737

The Macros box will pop up.

  1. Enter the name in the Macro Name: text box (for example NameSlide) and click the Create button.
546

The Microsoft Visual Basic Application will pop up.

  1. Type the following code in the given text box.
Dim currentView as Long
currentView = ActiveWindow.ViewType
If currentView = ppViewSlide Or currentView = ppViewNormal Then
  slideName = InputBox("Side Name"), "Enter the slide name", ActiveWindow.Selection.SlideRange.Name)
  ActiveWindow.Select.SlideRange.Name = slideName
Else
  MsgBox "Please selected a slide first", vbInformation
End If
1108
  1. Go to the Run tab and click Run Sub/UserForm.
570

The Enter the slide name box will pop up.

  1. Enter the slide name in the Slide Name text box (for example SlideName) and click the OK button.
294

Close the Microsoft Visual Basic Application and close the PowerPoint template.

How to create repeating placeholders

  1. To create a close gap or a repeat tag range, begin the tag name with a # at the beginning of the name and close it with the same name at the end (prefixed with a forward slash '/'). For example: {{#Points Repeat}} some normal text {{points}} more normal document text {{/Points Repeat}}. Here, the text between {{#Points Repeat}} and {{/Points Repeat}} will be repeated for every values for '{{points}}'.
431

The placeholder will be available when the PowerPoint is uploaded in design. {{#Points Repeat}} is the repeating placeholder and {{points}} is the placeholder included inside the repeating placeholder. SlideName is the placeholder denoting the slide.

344
  1. Map the placeholder to the required locations and specify the repeating placeholder under the properties tab of the section/page.
628

📘

Note

The above example shows repeating points in the PowerPoint file. For repeating the slides of the PowerPoint file, replace {{#Points Repeat}} with SlideName placeholder in the Placeholder(s): textbox.

How to publish a PowerPoint Project

  1. Open the project from Manage and click the ‘Publish’ button.
925
  1. Select the folder to which the project is to be published. Specify the output format required from the Presentation tab.
954
  1. Click the Save button.

Produce - How to run a PowerPoint project in Produce

  1. Open the project and enter the values.
602
  1. Click ‘Next’ and then ‘Generate Document’.

  2. Open the generated document. From the above example

If the placeholder mention in the repeating placeholder section in design was {{#Points Repeat}} then the output will be a PowerPoint file with 1 slide and 4 rows.

1050

If the placeholder mention in the repeating placeholder section in design was SlideName then the output will be a PowerPoint file with 4 slides and each with 1 row.

896

📘

Note

You can also use the NameSlide routine to name slides and then include/exclude the entire slide instead of just content within a slide.

Keywords: Repeating Section PowerPoint Placeholders