gs.log not working in script include

e_wilber
Tera Guru

I have a very simple script include and I can't get the gs.log to work so I'm not even sure if it's being called correctly.

Below is the script include named cab with function cabCheck.

find_real_file.png

 

In the report I am calling this using javascript: new cab().cabCheck() and javascript: new cab.cabCheck(). In reviewing the log files, I do not see "cab check" anywhere so I don't know if the report is actually calling my script include or if gs.log doesn't work in it or if the script include isn't set up right.

Any ideas what's not working?

11 REPLIES 11

Mike Patel
Tera Sage

did you try javascript:new global.cab().cabCheck()

Bhagya Lakshmi
Mega Guru

Hi,

You checked client callable. You will unchecked once and try.

I unchecked this checkbox and although my test print isn't coming through, I am seeing an error in the logs.

It's showing cab isn't defined. What does that mean for the script include?

find_real_file.png

did you try javascript:new global.cab().cabCheck()