Sign in
    Shared Email Templates

    How to add dataset values to the message body in Outlook with templates

    You can create fillable fields in your Outlook email templates and populate them with dataset values using macros. The Insert macro adds a dataset value automatically, while the WhatToEnter macro lets you select one in a dialog when you insert the template into an email message.

    Add dataset values automatically #

    1. In a message template you’re creating or editing, place the cursor where you’d like to add an auto-fillable field for a dataset value, and then select the The Insert macro icon. Insert macro button on the template editor toolbar.

    2. Select Insert dataset value.

    3. Select a dataset, column, and key value (a value from the key column identifying a row from where to retrieve a dataset value). Then click OK.

      Specify the dataset value to insert.
    4. An auto-fillable field will appear in your template. Select Save.

    When you insert such a template into an Outlook email message, the auto-fillable field will be automatically replaced with a value from the specified column and row.

    A dataset value is inserted into an Outlook email.

    Choose what dataset values to add via a dialog #

    If you want to fill multiple template fields with values from the same dataset row by selecting a key value only once, follow these steps:

    1. Create a dataset.

    2. In your Outlook email template, create a custom input field for selecting a dataset value with the WhatToEnter (WTE) macro.

      Add a custom input field for selecting a dataset value.
    3. Copy the custom input field using the Copy from another WTE option and change the dataset column from which the value is pulled. Then select OK.

      Change the dataset column for the copied custom input field.
    4. Repeat the previous step for each dataset column from which you want to retrieve a value.

    5. When you’re done, save your template.

      Multiple custom input fields are linked to the same dataset.

    When you insert the template into an Outlook email message, a pop-up dialog will prompt you to select a value from the key column of your dataset. Select the key value to specify the dataset row from which to pull values, and then select OK.

    Select a key value through a pop-up dialog.

    In your email message, all the corresponding custom input fields will be filled with the dataset values in one go.

    An Outlook email with multiple values from the same dataset row inserted at once.

    See also #