Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Get PDF of report via C#

$
0
0

I have one SSRS PRODUCT_REPORT created using CRMAF query.

Below is the screen SSRS > PRODUCT_REPORT > having one parameter name xxxID.

I want to generate this report as pdf using the C# using webservice <server>/Reportserver/ReportExecution2005.asmx.

So, I got sucess to generated the report, but for all the record, i.e., parameter is not set while report pdf rendering. Below is the parameter setting:

ParameterValue[] parameters = new ParameterValue[1];
parameters[0] = new ParameterValue();
parameters[0].Name = "xxxID";
parameters[0].Value = "{xxxxxxxx-9DC8-E411-BFC7-00155D00730E}"; //and tried without the curly braces also.

So, how do I set the correct “ParameterValue” so that – only for requested record the pdf report will generate?


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>