RE: Open SSRS Report From CRM Button Click
Hello MajorPatrick,
No, Reports are still under the URL http://<server>/ReportServer, But i can add report in CRM Customization interface. Only thing that i am not able to find that, Open the report from Plugin(C#) on button Click.
i used below code.
using (ReportExecutionServiceSoapClient client = new PaymentDue.ReportExecution2005.ReportExecutionServiceSoapClient())
{
client.ClientCredentials.Windows.ClientCredential.UserName = "<Username>";
client.ClientCredentials.Windows.ClientCredential.Password = "<Password>";
client.ClientCredentials.Windows.ClientCredential.Domain = "<Domain>";
client.ClientCredentials.Windows.AllowedImpersonationLevel = System.Security.Principal.TokenImpersonationLevel.Impersonation;
ServerInfoHeader serviceinfo = new ServerInfoHeader();
ExecutionInfo info = new ExecutionInfo();
client.LoadReport(new PaymentDue.ReportExecution2005.TrustedUserHeader() { UserName = client.ClientCredentials.Windows.ClientCredential.UserName }, "Sales contract Collection letter 1", null, out serviceinfo, out info);
}