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.
Complex PowerPoint templates may be slow to generate. If you are experiencing slow generation times, consider instead using a Word document as the template type.
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
- Go to the View tab and click ‘Macros’.
![2016_02_16_03_57_444.png 737](https://files.readme.io/3a6df1b-2016_02_16_03_57_444.png)
The Macros box will pop up.
- Enter the name in the Macro Name: text box (for example NameSlide) and click the
Create
button.
![2016_02_16_03_57_555.png 546](https://files.readme.io/bea9df9-2016_02_16_03_57_555.png)
The Microsoft Visual Basic Application will pop up.
- 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
![2016_02_16_03_58_107.png 1108](https://files.readme.io/a88ba06-2016_02_16_03_58_107.png)
- Go to the Run tab and click
Run Sub/UserForm
.
![2016_02_16_03_58_208.png 570](https://files.readme.io/b9dafad-2016_02_16_03_58_208.png)
The Enter the slide name
box will pop up.
- Enter the slide name in the Slide Name text box (for example SlideName) and click the
OK
button.
![2016_02_16_03_58_279.png 294](https://files.readme.io/7392538-2016_02_16_03_58_279.png)
Close the Microsoft Visual Basic Application and close the PowerPoint template.
How to create repeating placeholders
- 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}}'.
![2016_02_16_03_58_3410.png 431](https://files.readme.io/7afb7c5-2016_02_16_03_58_3410.png)
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.
- Map the placeholder to the required locations and specify the repeating placeholder under the properties tab of the section/page.
Note
The above example shows repeating points in the PowerPoint file. For repeating the slides of the PowerPoint file, replace
{{#Points Repeat}}
withSlideName
placeholder in the Placeholder(s): textbox.
How to publish a PowerPoint Project
- Open the project from Manage and click the ‘Publish’ button.
![Untitled(1).png 925](https://files.readme.io/26ec5c0-Untitled1.png)
- Select the folder to which the project is to be published. Specify the output format required from the Presentation tab.
![Untitled(2).png 954](https://files.readme.io/2c897ef-Untitled2.png)
- Click the Save button.
Produce - How to run a PowerPoint project in Produce
- Open the project and enter the values.
![2016_02_16_03_59_1815.png 602](https://files.readme.io/41b5662-2016_02_16_03_59_1815.png)
-
Click ‘Next’ and then ‘Generate Document’.
-
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.
![2016_02_16_03_59_2616.png 1050](https://files.readme.io/417b44f-2016_02_16_03_59_2616.png)
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.
![2016_02_16_03_59_3617.png 896](https://files.readme.io/52a5891-2016_02_16_03_59_3617.png)
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
Updated over 3 years ago