English 中文(简体)
Creating a PDF of a Dynamics CRM 4.0 report programmatically
原标题:

We are currently in the midst of upgrading our CRM 3.0 installation to CRM 4.0.

One of the things we were doing from our external web site is pulling a PDF of a report using the ReportViewer control and then doing a ReportViewer.ServerReport.Render().

From what I ve gathered, this doesn t work anymore, because anything I try to do fails, mostly with rsReportParameterProcessingError and rsCredentialsNotSpecified.

I suspect this is because 4.0 uses the CRM Data Connector to get around Kerberos trust for delegation.

So, All I want is a PDF of a CRM report, that I can get programmatically. Anyone ever tried this?

最佳回答

Our solution was to copy the specific reports from CRM s 4.0 folder to another folder on the Report Server, and use them from there using standard SQL Server connection strings..

We only have 4 reports that we needed, so the duplication was bearable.

Edit: I finally found the official answer. In CRM 4.0 there is an Action when editing the report entity, called "Publish Report for External Use". This basically does exactly what I did above. I am not the official Reports guy, so I did not think to go look at this form in CRM.

But, there you have it, now I can say I found an official answer.

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签