Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Dynamic Images in Workflow Emails

Posted on by 175

I have a requirement to append an image of a user's signature into emails that are generated via workflows (we are using CRM 2013).  Each user will of course have their own image for there signature and i need to be able to display that imaged based on the owner of the opporutnity from which the email is triggered.  Has anyone delivered similar functionality and if so how did you achieve it?

*This post is locked for comments

  • chrisg.crm Profile Picture
    chrisg.crm 170 on at
    RE: Dynamic Images in Workflow Emails

    Hi

    We have developed the only Inline Email Editor on the market!

    Send Images, Tables and text the way you would in outlook!

    you can now send and receive images tables or text directly on the email body!

    this is the only application of its type for Dynamics 365!

    contact us:

    www.tridentapps.co.uk

    nfo@tridentapps.co.uk

  • Suggested answer
    ldrinks Profile Picture
    ldrinks 175 on at
    RE: Dynamic Images in Workflow Emails

    After much trial and error I have been able to achieve this without development.  

    However, in order for my method to work the image must be hosted on an external website.  

    Once I had the images for each user's signature are hosted I did the following steps:  

    1) Created a new text field on the user form called 'signature'

    2) For each user I then populated the following  into the ‘signature’ field:

    <img src="http://mediaserver/signature/user847.jpg" />

    To be clear, http://mediaserver/signature/user847.jpg is the external URL where my image for a user 847 is hosted.  

    3) I then created my email template within the workflow (by pasting in the HTML for my email content)

    4) Once the HTML for the email was displayed in the email template I then just inserted the dynamics field 'signature' for my user in the proper place in the email

    As I'm not a developer (and know even less about web development) it was a bit of trial and error to make sure I got the image call formatted correctly, but once I figured that out it seems to work as needed.  

    There are probably much more sophisticated ways to achieve this with HTML but this worked for my requirement and didn’t require me to enlist a developer.  

    Hope this helps others who have the same requirement.

  • Peter Majer Profile Picture
    Peter Majer on at
    RE: Dynamic Images in Workflow Emails

    This is a great product enhancement suggestion.  I just tried to use the native entity image field that comes with 2013 now, and this field unfortunately isn't available in the email step.  However, that would be a great enhancement for a future product update to be able to insert images into content such as dynamic emails just like you can with other fields.

    I just logged this suggestion on Microsoft Connect.  Feel free to upvote it so it gets more traction at MS.

    connect.microsoft.com/.../crm-2013-allow-image-fields-to-be-displayed-in-wf-email-steps

    Until this gets added to the product, you most likely will need to have a developer write a WF assembly that you can reference in your email step.  They can even write it in a way that utilizes the native image field that an entity can have.  This way you'll be able to see the same image in CRM on the record form, as well as in your email.  This is the entityimage field.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans