directly exporting report through custom button
Hi All,
I am having a custom report in crm for case. To export this report to word format we have to run the report and export.
to avoid the number of clicks, we created a custom button to export this report directly without running the report.
We took the report url from reportserver and made the click event in button to export the report.
This function is working fine in On-Premise environment. This same functionality is not working in IFD configured environment.
In IFD environment i am not able to export the report directly.
Thanks in advance,
Siva
November 15th, 2010 1:30am
Hi Siva,
If I understand correctly, you are able to export a report using URL Access intranet. However, once we deploy the CRM to internet, we are no longer able to export the report using the button from a page in CRM from internet.
This should be caused by the URL we used to access the report server is an intranet URL. While accessing the CRM page from internet, the intranet URL is no longer available. This cause the issue to happen.
As a workaround, please use a Internet URL for the URL Access to fix the issue.
Thanks,
Jin ChenJin Chen - MSFT
Free Windows Admin Tool Kit Click here and download it now
November 16th, 2010 4:36am
Hi Jin,
Your understanding is correct. I tried with the intrenet URL, in that URL ReportSession ID is dynamically changing every time we export the report highlighted as bold below.
http://serverURL/Reserved.ReportViewerWebControl.axd?ReportSession=z5ub1t5531mwij554evzry3i
&ControlID=148fdf9dad404351b0704e0b1b984848&Culture=1033&UICulture=1033&ReportStack=1&OpType=Export&FileName=%7bb8dc791e-26ee-df11-ae4c-00096bf524dd%7d&ContentDisposition=OnlyHtmlInline&Format=EXCEL
So this URL is throwing error when linked with the button.
Thanks,
Siva
November 16th, 2010 5:42am