Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Generation pdf form

(0) ShareShare
ReportReport
Posted on by

I'm working on Dynamics online CRM. as a part of the Case business process flow I need to create a specific pdf form including information from some case fields and send it as an attachment.

Can anyone advice how to automate that?

*This post is locked for comments

  • Suggested answer
    Soma Shekar Profile Picture
    Soma Shekar 461 on at
    RE: Generation pdf form

    HI ,

    Have a look into the following link

    http://dynamicsobjects.com/Products/Dynamics-Docs

    It will resolves your issue.  

  • Verified answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: Generation pdf form

    Hi,

    Check this meghshyam.wordpress.com/.../send-email-with-attachment-in-crm-2013

    Thanks

  • Verified answer
    Aiden Kaskela Profile Picture
    Aiden Kaskela 19,694 on at
    RE: Generation pdf form

    Hi,

    The easiest way to do this would be to make it text only so you don't have to worry about formatting or doing a mail merge to word. You can build up a string based on the fields on the record, then converting the text to a byte array and using that as the 'file' to use when converting a txt file to a PDF using an open source solution like this:

    www.codeproject.com/.../Convert-a-Text-File-to-a-PDF-File

    Once you build up the pdf data, you can attach it to an email by converting that to a string and saving it as a "activitymimeattachment" record.

    Hope this helps! I'd appreciate if you'd mark this as a Verified answer.

    Thanks,

     Aiden

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans