Sign in
    Shared Email Templates

    Auto-fill tables with dataset values

    Bind a table to a dataset #

    1. Add a table to the Outlook email template you’re creating or editing. Reserve only one row for dataset values. When you insert the template into an email message, you’ll be able to add as many rows as you need.

      Insert a table into an Outlook email template.
    2. Right-click a row that is going to be populated with dataset values, and then select Bind to dataset.

    3. Enter the field name that will be in a dialog showing up when you insert your message template into an email. Select a dataset and columns. Then click OK.

      Choose a dataset and columns for the table.

      The names of the selected columns will populate the row in the order that they are present in the Select columns box. If a different order is needed, clear all the checkboxes under Select columns, and then select columns in the order required for your table.

    4. The names of the selected columns will appear in the row. Save your template.

      An email template with a table bound to the dataset.

    When you insert such a template into an Outlook email message, you’ll see a dialog containing a list of key values (values from the key column of the dataset). To specify the rows that you want to add to the table in your email message, select the corresponding key values. Then click OK.

    Choose key values using a pop-up dialog.

    In the email message, values from the specified rows will populate the table.

    A table is auto-filled with dataset values in an Outlook email.

    How to set default rows in a dataset #

    If you want to get key values from some rows selected automatically, set those rows as default ones.

    1. Add the Default Items column to your dataset.

      Add the Default Items column.
    2. Mark the rows that you want to make default by selecting “true” from the dropdown menu.

      Mark default rows.
    3. Save the changes.

      A simple dataset with marked default rows.

    Unbind a table #

    To unbind a table from the dataset it’s bound to, start editing your email template, right-click the bound row, and select Unbind from dataset.

    See also #