OScript Modules
There is a Content Server module created for each of the main functional areas of Content Server. Modules are Designed To:
?Make it easy to install, remove and upgrade customizations
?Decrease development time
There is a Kernel module on which all other modules depend and it contains core Content Server code and does not appear in the Install Modules page
There is a set of core modules that are automatically installed when you install Content Server
There are optional modules written by OpenText, third party developers, and other CSide users
A Content Server module must have:
A Content Server module may have:
OSpaces
When you want to customize Content Server’s objects, create a new OSpace.
?objects that contain new functionality
?objects that are meant to extend or override existing objects
When you make a module, you create an OSpace for the module’s objects.
OSpace setup
Calling an object in a different OSpace
If you want to call an object's features from other objects, you can either create a global reference to it in your OSpace's Globals object, or refer to it directly by its fully qualified name. The latter is slightly faster at runtime, and allows the compiler to perform type checking, while the former is the only way to refer to temporary objects from any location.
Every OSpace is created with a Globals object. This object is bound to a global variable by the default start-up script, allowing the object and any of its features to be accessed anywhere using the syntax:
$GlobalName.featureName
Each OSpace includes a Globals object. The Globals object serves as a registry for objects within that OSpace which might need to be accessed from any object or script in Content Server. A Globals object is automatically created when you create an OSpace.
$GlobalName.featureName
p.Ex $answerdesk.Documentation adresses this object