Managing Caché Server Pages


VC/m has a component driver for Caché Server Pages which manages the compilation of the pages as well as the transfer of the source files. If there is more than one application defined to use the same namespace, but VC/m only needs to manage the pages of one application, set the ^vcvp("cspAppURL") global node in the namespace, assigning it the string value of the CSP application to be managed. For example:

DEV>s ^vcvp("cspAppURL")="/csp/mainapp/"

If you need to manage the CSP files for more than one application that shares a namespace you will have to handle them as T-type components rather than as CSP-type ones.

If the CSP driver is used, each location where the pages can be run should be configured so that CSP components map to a physical address with a storage format of 'M'. The component name will be a directory path and filename without the .csp extension. The path is always relative to the directory that the associated CSP application definition specifies fof its 'CSP Files Physical Path' property.

If the T driver is used, the T-type components should map to a physical address using a storage format of 'text'. The component name is a relative directory path and filename including the .csp extension.