Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Copper Contributor
Posts: 22
Registered: ‎08-17-2009

Re: Command button to preview report

How do we now print a Crystal Report for a speific Entity from a button in SalesLogix 8?  I understand the above no longer works.

 

Thanks.

 

Mike Fortier

BrainSell Tech

www.brainsell.net

mfortier@brainsell.net

Highlighted
Employee
Posts: 629
Registered: ‎04-24-2009

Re: Command button to preview report

The reporting functions are exposed by jscript\Sage\Reporting\Service.js in 8.0. The same functionality is available (and more), but you must load the ReportingService.

 

The following is an example:

 

require(['Sage/Reporting/Service'], function (Service) {
    var oReporting = Sage.Services.getService("ReportingService");
    if (oReporting) {
        oReporting.showDefaultReport();
    }
});

Thanks

 

Mike