PowerPoint Generator API
  • PowerPoint Generator API
  • Getting started
    • Quick start
  • API reference
    • token/create
    • generator/create
  • Knowledge base
    • Key concepts
    • Templating your presentation
    • Building your JSON payload
    • Finding shape names
  • JSON/ PPTX Reference
    • presentation
    • slides
    • shapes
      • textbox
      • chart
      • picture
      • table
    • tags
    • Deprecated
  • Examples
    • Presentation
      • Naming output presentation
      • Using multiple templates
    • Slide
      • Change shape size and position
      • Change shape background color
      • Hide or remove shape
      • Replacing tags
    • Textboxes
      • Add text
      • Set font type and size
      • Set font color and font background color
      • Set bold, italic & underline
      • Set text alignment
      • Set text indentation
      • Set text line spacing
      • Using bullet-points
    • Chart
      • Change font settings
      • Insert data
      • Adjust chart legend
      • Appending to data labels
    • Pictures
    • Table
      • Populate simple table
      • Using `text_runs` in Table cells
      • Handling merged cells
      • Update a specific cells in existing table
    • Tags
Powered by GitBook
On this page

Was this helpful?

  1. Knowledge base

Finding shape names

In order to update the shapes in your template PowerPoint, you will need to find the name of the shapes in your template.

PreviousBuilding your JSON payloadNextpresentation

Last updated 2 years ago

Was this helpful?

  1. Open your template presentation in PowerPoint.

  2. In the Home tab find Arrange and select Selection Pane.

3. The panel on the right will highlight the name of the shapes. Copy the shape names you wanted to populate and customise.

Example payload

We've taken the shape name "Title 1" from our template slide and used it in our payload:

{
  "presentation": {
    "template": "slides_as_template.pptx",
    "export_version": "Pptx2010",
    "slides": [
     {
        "type": "slide",
        "slide_index": 0,
        "shapes": [
           {
             "name": "Title 1",
             "content": "Automate PowerPoint Generation"
           }
        ]
      }
    ]
  }
}