Change the privacy setting for a single client-callable script include by adding theisPublic() function.
The isPublic() setting takes precedence over the glide.script.ccsi.ispublic property. For example, if the property is set to false making all client-callable script-includes private, and a script sets isPublic() to true, the script is public.
To change the privacy for a single client-callable script include, add the following method to the script include - The highlighted method.
var RITMUtils = Class.create();
RITMUtils.prototype = Object.extendsObject(AbstractAjaxProcessor, {
isPublic: function () {
return true;
},
type: 'RITMUtils'
});
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.