Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Email a Word Template as email body with custom workflo

Posted on by Microsoft Employee

Hello,

I need to email a word template generated in a entity as the email body (not as attachment). I'm using a custom workflow to get the template (that I attached to a note in the entity) to get the template base64, then I'm using the base64 to convert it to HTML to set the email body. Im using OpenXML PowerTools to convert it to HTML but seems that does not convert the table properly:

asd.png

The table must looks like this:

asd21.png

Any idea why the table is not converting well? Any other idea on how I can do it?

*This post is locked for comments

  • Suggested answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: Email a Word Template as email body with custom workflo

    Hi,

    You could create a custom workflow and select the step "Create Email". Choose "Report in Email Body" as true.

    www.crmsoftwareblog.com/.../email-docs-template-workflow-dynamics-crm

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans