Why isn't this script include being triggered by the reference qualifier?

e_wilber
Tera Guru

I am not sure what's happening but this reference qualifier isn't triggering my script include. The only output in the SI is the log print and I can't get anything to show up in the logs.

 

e_wilber_0-1689859374348.png

 

e_wilber_1-1689859413819.png

 

 

1 ACCEPTED SOLUTION

Rahul Talreja
Mega Sage

Hi @e_wilber ,
Change it to

javascript: new global.getPartners().partners();
Please mark my response correct/helpful as applicable!
Thanks and Regards,
Rahul

View solution in original post

3 REPLIES 3

Harshal Aditya
Mega Sage

Hi @e_wilber ,

 

Hope you are doing well.

 

Please note that the script include should be non client callable

And you can call in the reference qualifier as

javascript : new scriptIncludeName().functionName()

 

Please mark this response as correct or helpful if it assisted you with your question.

Regards,
Harshal

Rahul Talreja
Mega Sage

Hi @e_wilber ,
Change it to

javascript: new global.getPartners().partners();
Please mark my response correct/helpful as applicable!
Thanks and Regards,
Rahul

Hi Rahul,

 

You're right! I am an idiot and forgot the () around getPartners.

 

Thank you!