The Insert table action enables you to insert a table into a Pages document from a table variable or from row and column counts. This action is useful for organizing and presenting data in a structured format, such as rows and columns.

Prerequisite

Before using this action, ensure that you first use the Set Document Properties action in your automation. The Set document properties action defines the page size and orientation of a Pages document, which establishes the layout framework for placing content. For more information, see Set document properties action.

When you use the Insert table action, the X and Y position values are calculated based on the page layout configured earlier. If the layout is not set correctly, the table might not appear in the intended position.

For example, if you set the page orientation to landscape and then specify X and Y coordinates in the Insert table action, the table is placed according to the landscape layout, ensuring accurate positioning within the document.

Settings

  • Use the Session name field to select one of the following options:
    • Session name: Enter the name of the session used during the Open action.

      (Optional) Click the Insert a value icon to select an existing variable that you have used to store the default session name.

    • Variable: Enter the name of the variable that you have used to store the session name.
  • Table title: Specify the table title to insert.
  • Table type: Specify whether to insert a table with values or a table with no values
    • Table with values: Specify the source table or insert a variable.
    • Table with no values: Specify the number of rows and columns.
  • Include column headers (Optional): Specify whether to include column headers.
  • Range: Select one of the following options to specify the location in the document where the table must be inserted:
    • Current page: Inserts media on the page that is currently active in the session.
    • Specific page(s): Inserts media on a specific page. Enter the page number where you want to insert media.
  • X-Position: Specify the horizontal position in cm.
    Note: Ensure that the values is between 0.5 and 2000
  • Y-Position: Specifies the vertical position in cm.
    Note: The minimum value must be at least 0.5.