- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2024 03:36 AM
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 ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2024 04:58 AM
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();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2024 03:49 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2024 04:25 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2024 04:58 AM
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();