Skip to main content

Notifications

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
    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
    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
    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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans