Hi
I want to attach report as pdf with email in plugin. How can I do this.
Hi,
Are you using On Line or On Prem?
If you on OnPrem, you can call the SSRS webservices and download the pdf report that way as described by - http://ankit.inkeysolutions.com/2012/11/dynamics-crm-2011-creating-e-mail.html
If you are OnLine, then this technique won't work. There are work around - but they won't work through a plugin - only through html/javascript/silverlight (http://xrmmatrix.blogspot.co.uk/2011/06/creating-report-as-pdf-attachment-in.html).
The only option you have is to use a custom report generation technique or a third party solution such as - https://community.dynamics.com/crm/b/iotapcrminsights/archive/2013/04/22/report-scheduling-and-email-subscription-for-microsoft-dynamics-crm-2011-online-and-on-premise.aspx
hth
Scott Durow Blog www.develop1.net Follow Me Rockstar365 If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"