Tag Archives: slug

Stunning Rich HTML e-mails with Dynamics CRM 2011 – Episode III

Finally here comes Episode III.

(Any resemblance to real persons, living or dead or the Star Wars saga, is purely coincidental.)

In case you missed previous episodes you can find them here and here.

Today we will see something pretty interesting and a common request: how can you make the e-mail template dynamic based on entity values or insert custom HTML code.

I’ll provide an example based on one of the requests I received in the comments, we will add a personal avatar to our users so we can insert it in our template.

Spoiler alert, the following screenshot is what we’re trying to achieve:

Dynamic email template with user avatar

Continue reading

Stunning Rich HTML e-mails with Dynamics CRM 2011 – Episode II

Ok. Time for the next step.
At this point you would probably say: “Eh, you didn’t show anything new yet”.
That’s why here it comes the second part.
We will dig a bit into how our friend Dynamics translates its magic keywords, and how to use them in our e-mail template.

If you missed the first part you can read it here

Following the previous article you are now able to create a custom email template, but you are probably asking: “Every time I make a change in the template, I need to manually replace the text with dynammic properties, over and over again. Isn’t there a better way?”