[BO - Crystal Reports]: Cannot print/export reports run from Clarity, an error message is shown "missing Active-X component".
The reports are viewed and printed ok from the CMC. However, when a report is run from within Clarity, the viewer cannot be changed to Java. Users need to have Crystal Report viewer installed in order to view/print reports, other wise the error "missing Active-X component" will be displayed.
** WINDOWS ENVIRONMENTS **
First of all, you need to set the preference for Java or ActiveX or DHTML in the Business Object CMC (Central Management Console).
In order to view the reports, the following components are needed:
Moreover, DHTML viewer components also requires 2 additional components:
** Note 1: Using the ActiveX Printing control will retain the original Crystal Reports format and not the "exported" DHTML or PDF view.
** Note 2: Using the Acrobat Reader printing control option requires the additional steps of first viewing the report in PDF format:
iviewer.setPrintMode(CrPrintMode.ACTIVEX): Uncomment the code line in the DHTMLViewer.jsp code. It will provide the option to either print the report on the printer or export the report (in either of the PDF, RTF, RPT formats).
iviewer.setPrintMode(CrPrintMode.PDF): Uncomment the code line in the DHTMLViewer.jsp code. It will provide just the option to export the report.
Depending upon which one of the above two code lines is uncommented, clicking on the print icon (located in the left-top section) of the displayed report, it will give the option to print the report on the printer or export the report as a PDF file respectively.
If both are uncommented then the latter one will take effect at runtime.
** LINUX ENVIRONMENTS **
Please, review TEC468041 in ca support site.