Populate simple table

Tables enable you to edit tables in your template for use in your presentation.

Example below populates a dummy table shape with text.

  1. Find the shape name you want to update. See here to find shape names.

  2. Use the data_cells object to populate a table shape. It is a 2-dimensions array of cell values. Each cell value can be a simple string or a text object.

Before and after

Template Presentation

JSON Payload

{
  "presentation": {
  "template": "slides_as_template_table.pptx",
  "export_version": "Pptx2010",
    "slides": [
      {
        "type": "slide",
        "slide_index": 2,
        "shapes": [
          {
            "name": "Table 2",
            "data_cells": [
              [
                "Charts",
                "Tables",
                "Pictures",
                "Textboxes",
                "Tagging",
                "Styling"
              ],
              [
                "Insert new chart objects",
                "Insert new table objects",
                "Insert new picture objects",
                "Input strings into text boxes",
                "Use powerful tagging to replace strings efficiently",
                "Use you branded and styled PowerPoint decks as template" 
              ],
              [
                "Configure any chart properties",
                "Configure any table properties",
                "Replace existing pictures with new pictures",
                "Or change any textbox setting and create new ones",
                null,
                "or style your presentation via API"
              ]
            ]
          }
        ]
      }
    ]
  }
}

Last updated