Adding a Graphic to the Template

The template file that you have added to your project already includes one graphic, EasyAsLogo.png. You can see this listed in the Presentation Resources folder. To add another graphic to the template file, proceed as follows.

Procedure

  1. Add the new image to the Presentation Resources folder by copying Logo2.png, from the folder where you extracted the zip file, to Presentation Resources, as you did in for the other files.
  2. Double-click on the cid.properties file to open it in an editor.
  3. After the definition of cidOne, add the following line:

    cidTwo:Logo2.png

    as in the following illustration.

  4. Double-click EasyAsTemplate.html to open it in an editor.
  5. Include the new graphic in the template by typing the following line after the copyright line, near the end of the file:

    <img src="cid:cidTwo"/>

  6. Save the project.

Result

For More Information

There is a list of tokens that you can include in your email template in the "Using Presentation Channels" section of the TIBCO Business Studio Modeling User’s Guide. These are replaced by data at runtime. For example, the template includes the "%%token.mailDate%%" token, which is replaced at runtime by the date and time of the mail.