How to add Reference Qualifier to Record Producer Variable

PeterKoX
Tera Expert

Hello,

 

in record producer's variable refered to reference type question I made type specifications : used advanced reference qualifier and this is inside : javascript:(new SKOnboardingAJAXHelper().getManagers());

 

This approach is worked for dictionary entry , but does not for record producer's variable.

 

How can I call my Script Include inside variable's reference qual ?

 

PeterKoX_0-1731065691805.png

PeterKoX_1-1731065750586.png

 

 

 

1 ACCEPTED SOLUTION

FIXED : I set Script Include Accesible from to All application scopes add scope before SI name as follows :

javascript:new x_sigh_attend_list.SKOnboardingAJAXHelper().getManagers();

 

View solution in original post

3 REPLIES 3

Brad Bowman
Kilo Patron
Kilo Patron

Is the Record Producer in the same Application / scope as this Script Include?  If not, change the Accessible from to "All application scopes".  Are you using the same Script Include and function in a dictionary entry?  If not, add some gis.info lines to confirm if the script is actually running, and to see if any records are retrieved by the GlideAggregate

Record Producer is in the same Application scope as Script Include. Yes the same Script Include is used in a dictionary entry. When I add info message to getManagers() , it won't run. So problem is probably like ref qual inside record producer does not accept Script Include call, but when I set ref qual to something like this : 

javascript:('sys_is=91498da11d8da4d98899d');

 this will be accepted.

FIXED : I set Script Include Accesible from to All application scopes add scope before SI name as follows :

javascript:new x_sigh_attend_list.SKOnboardingAJAXHelper().getManagers();