Change the privacy setting for a single client-callable script include by adding the
isPublic() 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:
isPublic:function(){return[true/false];},
Make the NewInclude client script private.
var NewInclude =Class.create();
NewInclude.prototype={
initialize:function(){},
myFunction:function(){//Put function code here},
isPublic:function(){return false;},
type:'NewInclude'};