Sign in
    Shared Email Templates

    Auto-fill tables with dataset values

    Bind a table to a dataset #

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

      A sample table in a 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 template into an email message. Select a dataset and columns. Then click OK.

      The Select dataset dialog

      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.

      A sample table bound to a dataset

    When you insert such a template into an 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.

    A list of key values from a dataset in a dialog

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

    A table populated with dataset values

    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.

      Default rows marked in a simple dataset

    Unbind a table #

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