Catglobe modules

From Catglobe Wiki
Revision as of 10:39, 12 September 2011 by Catglobe (talk | contribs)
Jump to: navigation, search

Catglobe modules

Using CG Script it's possible to build very complex solutions on top of the Catglobe platform. This page and sub pages offers some guidelines on how to use existing Catglobe modules and how to extend with additional generic modules, or create and register customized modules which are used by a specific solution.

Building a new solutioin, where Catglobe modules are used as the foundation, helps you abstract from tedious things like remembering the resource ids of a lot of generic workflows, it also makes it easier to move your solution to other Catglobe sites once it's done.

One workflow resource id must be known in order to initialize the Catglobe modules framework, namely the resource id of the Catglobe module loader.

Initializing the module loader

The Catglobe module loader is the workflow module responsible for loading all other generic Catglobe modules, the script below demonstrates how to initialize the module loader and add a few generic Catglobe modules:

number moduleLoaderResId = 1234;
Dictionary cgmod = Workflow_call(moduleLoaderResId, {
   "Catglobe.DateTime",
   "Catglobe.Text"
});