Name

global.Category

Description

Helper class to return the the query for category.parent

Script

gs.include("PrototypeServer");

var Category = Class.create();

Category.prototype = {
  initialize : function() {
  	
  },

  getReferenceQual : function(current) {
  	var catalog = current.sc_catalog;
      if (catalog)
          return 'sc_catalog=' + catalog;
      return '';
  },
  
  getDefaultCatalogValue: function() {
  	return GlideappCategory.getDefaultCatalogValue();
  }
};

Sys ID

9f2448b6c320110067ec37659bba8fc5

Offical Documentation

Official Docs: