Question

6u24 Clientscript printReport error

  • 7 August 2023
  • 7 replies
  • 66 views

Badge +4

Hello,

 

We have upgraded from 6u13 to 6u24 and our Tech portal is no longer able to print service reports.

 

We have a button that run the following language:

var task_id = getControlValue('task','task_id');
alert(task_id);
if (isNullOrEmptyString(task_id)) {
    return false;
}
var reportParams = 'task_id=' + task_id;
printReport('FSE_SERVICE_REPORT_INT', reportParams, PDF);

 

This code has functioned for the last 12+ months under 6u13 but now in 6u24 it no longer functions.

 

We are receiving the following error.

Out report is formatted 

 


7 replies

Userlevel 6
Badge +26

Hi @MKNDANIEL 

If this worked and after the upgrade stopped working, I suggest you open a support call. Looks like a regression bug.

Cheers!

Userlevel 2
Badge +6

Hi @MKNDANIEL 

Does this issue happen for all of your reports or just this custom report?

Badge +4

We are not using any base line FSM reports, all of our reports are custom rdlc’s

 

Userlevel 2
Badge +6

@MKNDANIEL So this behavior is happening with all of the custom reports? or is this the only report that is being called via a custom button and client script?

Badge +4

any client script using the printReport Fx (4-5 reports stopped working)

the reports have to be set to “report viewer” for anything to work..

and these button no longer work in the client:

 

Userlevel 2
Badge +6

I know there was a correction regarding reports in update 24, I have to agree that it sounds like a new issue was created with the correction. Best thing to do is open a support case. 

 

Thanks,

Morris

Badge +4

CS0134868

Reply