Why Do AgileReports Export Options Not Display in Integrated Applications?

Symptoms

When accessing a AgileReports with export options (for example, Export to PDF, Export to Excel, or Export to CSV), outside the AgileReports application (for example, from SharePoint) the export options to not appear. However, the export options are displayed correctly in AgileReports for the same report.

Cause

The necessary session parameters are not set when an AgileReport with export options is accessed from outside the AgileReports application.

Resolution

As a workaround, create a landing page called CustomPage.aspx where the necessary session parameters are set. Then redirect the request from CustomPage.aspx to rdPage.aspx. Please see below for a sample implementation.

  1. Place the attached file [AgileReports installation folder]\CustomPage.aspx.
  2. Change the AgileReports URL to the following format:

    http://[server]/[virtual directory]/CustomPage.aspx?ReportID=ahReport761

    Example: http://demo3:9000/AgileReports/CustomPage.aspx?ReportID=ahReport116

    This URL can be used from a web page (for example, SharePoint) to show the AgileReports with export options

More Information

Downloads

CustomPage.zip