calling script include in report

Deepthi13
Tera Expert

 

i tried in following way but when i RUN report 0 records where displaying, when i run same script in background script i am getting desired out put after printing. Please suggest.

please find my screen shot and script as below

 

1 ACCEPTED SOLUTION

Just to reiterate: you only call scriptIncludeName().methodName() if you have defined a class for your script include. Deepthi, you have written a classless script include so you need to call it as you were:

javascript: getDupes()

To confirm, you definitely need to have the client callable box ticked in order to call this in a report condition.

View solution in original post

20 REPLIES 20

my method name is dupRecords() , is any thing wrong ? 

 

javascript : new getDupes().dupRecords();

i think 

it's wrong 

dupRecords() is array variable name so don't pass variable name

 

If my response helped please mark it correct and close the thread.

Thanks,
Rahul Kumar

u pass the 

javasript: new script_include_name.methode_name()

If my response helped please mark it correct and close the thread.

Thanks,
Rahul Kumar

Just to reiterate: you only call scriptIncludeName().methodName() if you have defined a class for your script include. Deepthi, you have written a classless script include so you need to call it as you were:

javascript: getDupes()

To confirm, you definitely need to have the client callable box ticked in order to call this in a report condition.

sorry,

yes correct

call

javascript:getDupes();

thanq David Dubuis for remember me

 
 
If my response helped please mark it correct and close the thread.

Thanks,
Rahul Kumar