Recently I had a requirement to generate a report and add it as a Attachment to a record on click of a button.
In the following code just replace ‘reportname’,’reportGuid’, ‘strParameterXML’ and ‘CRM_ReportParameterIfAny’ with the actual values and bind AttachReport Method to ribbon button commannd.
Continue reading “Generating SSRS Report and adding it as an attachment to a record using JavaScript”