Management server settings
You can configure script extensions in the Management Server settings section of SDL Tridion Content Manager configuration.
About this task
You can use script extensions to use any COM object in the render engine. The script extension enables any simple VBScript or JScript Template to use this function when content is published or previewed. Note that Compound Templates (Modular Templating Framework) do not require you to configure script extensions.
- The name of the object that can be used from simple VBScript or JScript Templates
- The
ProgIDof the COM object to be created - The server on which the COM component is to be instantiated
Procedure
Example of a script extension
For example, for the following COM object: MyLib.Functions, the SDL Tridion script extension stipulates the following information:
- TCM Object Name
FunctionLib- COM Object Name
MyLib.Functions
When using this function in a template, the object called using, for example:
If FunctionLib.Validate(x)=true then
...
where Validate is a function or method.
Or:
WriteOut FunctionLib.GetTitle("tcm:5-85-16")