Name

global.sc_Factory

Description

Entry point for all customisation of the Service Catalog script.

Script

var sc_Factory = Class.create();
sc_Factory.prototype = Object.extendsObject(sc_BaseFactory, {
  initialize: function() {
      sc_BaseFactory.prototype.initialize.apply(this, arguments);

      /* To use this factory you simply call the registerClass method with the name of the table you want to register it against
       * and the name of the class that you want to register using the following syntax.
      
      this.registerClass(tableName,class);
      
      * You can register one class against a table.
      */
  },

  type: "sc_Factory"
});

sc_Factory.wrap = function() {
  var fact = new sc_Factory();
  return fact.wrap.apply(fact, arguments);
};

sc_Factory.getWrapperClass = function() {
  var fact = new sc_Factory();
  return fact.getWrapperClass.apply(fact, arguments);
};

Sys ID

174730fbc31011003d2ae219cdba8f11

Offical Documentation

Official Docs: