Name
global.ScriptedRESTAPINamespaceCreator
Description
No description available
Script
var ScriptedRESTAPINamespaceCreator = Class.create();
ScriptedRESTAPINamespaceCreator.prototype = {
initialize: function() {
},
getNamespace:function() {
if(gs.isCurrentApplicationInGlobalScope()) {
if(gs.getProperty('glide.appcreator.company.code')) {
return gs.getProperty('glide.appcreator.company.code');
} else {
return gs.hasRole('maint') ? 'now' : 'global';
}
} else {
return gs.getCurrentApplicationScope();
}
},
type:'ScriptedRESTAPINamespaceCreator'
};
Sys ID
91430c228f02020020c128e377e79a5c