Include advanced tokens in email messages

When typing a default message for the notification email that will be sent regarding a particular report, you can customize the text using advanced tokens. If you include tokens such as {viewStartDate}.

To include advanced tokens in published reports email messages:

  1. Go to the area where the report you want to modify is run, such as the Health view, Student tab.
  2. Click Reports > [your report name]. The report's pop-up appears.
  3. Inspect the HTML of the input field you want to tokenize. This can be done numerous ways and is browser- and tool-specific:
  4. Browser

    Description

    Internet Explorer 8.0

    There are two ways to view the HTML:

    • Right-click on the page, and select View Source.
    • Go to the Tools menu > Developer Tools > HTML tab. Then browse the HTML directly, or select the pointer icon and click on the input element you want to view the HTML of.

    Firefox 3.6

    Right-click on the page, and select View Page Source.

    There are also multiple Firefox plug-ins which can help in browsing HTML.

    Chrome

    There are two ways to view the HTML:

    • Right-click on the page, and select View page source.
    • Right-click on the input element of interest, and select Inspect element.

    Safari 5

    Right-click on the page and select View source.

  1. Identify the names of the fields you want to add as tokens to the default email message.
  2. Find the HTML for those input fields.
    Note: The INPUT tag should have a name such as "parametersAsStrings(activeOnly)". This is the input checkbox name for Active students only.
  1. To add the value(s) to the default email message, click the Publish sub-tab in the report pop-up.
  2. In the Email message field, put braces around the text that is currently in parenthesis. For the example above, you would type {activeOnly}.
  3. Repeat steps 4-7 for any input you want to include in the email message.