Restrictions and limitations
- You have to specify the Name, Language and Script.
- The script you specify has to be a valid script.
- Standard JScript and VBScript limitations exist when it comes to variable naming conventions.
- Field name cannot start with a number. If it does start with a number, the number will be removed from the field name.
- Field name cannot start with the underscore character (_), although it may contain any number of underscores within the variable name.
- All spaces in a field name will be replaced with the underscore character (_).
- All double and single quotes will be removed.
- All other invalid characters for field names will also be removed (such as %, $, or #).
-
The method GetTopicInterface works only in VBScript, use method GetTopicObject in JScript. The method GetTopicObject can be used both in JScript and VBScript.
The difference between the methods is the following:
- Method GetTopicInterface reuses the KnowledgeContent object as KnowledgeTopic COM object.
- Method GetTopicObject creates a new object.