web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM 2011 - insert custom ssrs report as part of the email content

(0) ShareShare
ReportReport
Posted on by

Hi

i need to add the custom ms crm report into the email's body content. the request is that i need to create email that will be sent to the managers automatically with the report as part of the content. i dont know how to do it. appreciate if any one can share any idea or solution with me. thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at

    Hi,

    You can develop custom workflow to generate html contents for your report and then can place that in email body. You can also schedule it using workflow on specified time for example daily after office hours.

    Thanks

  • Community Member Profile Picture
    on at

    hi thanks. hhmm but my problem is that the report have dynamic parameter meaning that i need to filter the information based on the managers. thats quite tricky for me

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Amanda,

    You can convert the crm report to pdf file as Base64 and add as a attachment to the mail.

    crmpankaj.blogspot.in/.../generate-pdf-file-using-java-script-in.html

    This blog will help you to get a pdf file as an attachment from CRM report which has dynamic parameter.

    Hope this would help you.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Amanda,

    you can create a custom workflow as HIMBAP said and pass some parameters into this workflow, after that you can use these to "execute" the report, catch the result ad attached the file to the email.

    Some resources:

    www.powerobjects.com/.../send-report-pdf-via-workflows

    mscrmmindfire.wordpress.com/.../custom-workflow-to-send-email-with-pdf-formatted-report-as-attachment

    www.greenbeacon.com/.../ms-dynamics-crm-2013-generating-ssrs-report-as-pdf-using-plugin

  • Community Member Profile Picture
    on at

    Hai Kumar,

    is there any method or idea or suggestion on how i can display the report result in the email? not as attachment?

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

    No , i don't think their is way where we can display the report result in email.

    Any way if you click on the attachment link it will open in your browser.

  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at

    Hi,

    You can create a custom entity let's say reportscheduler where you can have user lookup for manager and then while generating your html report you can bring data based on this lookup to filter resultset.

    thanks

  • Community Member Profile Picture
    on at

    Hi Mahen,

    I am having a requirement to put SSRS report content in Email body. Can you help in same..

    I am able to get report and attach as pdf/excel in Email till time from JS. I am working 2016 online version. Any help would be appreciated.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans