Calling Script include in reference qualifier
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 05:32 AM
Hello everyone,
i am not able to see the see the user which i set in script include.
Can anyone help ?
Script include :
Name : CZTest
API Name : global.CZTest
Code :
var CZTest = Class.create();
CZTest.prototype = Object.extendsObject(AbstractAjaxProcessor, {
getValidUsers: function() {
var array = ["62826bf03710200044e0bfc8bcbe5df1", "5408091a3b100300e81d47b334efc452"];
return array;
},
type: 'CZTest'
});
Reference Qualifier : javascript:new CZTest().getValidUsers();
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 07:47 AM
While creating the script include when you clicked on save or submit it must have asked you to put roles.
Please check the user with whom you are trying to test this he/she is having that role.
if you do not want any roles please go the acl and remove the roles for the script include.
Regards,
Debasis