Add Type: add-type

Use the add-type command to add a type to the server.

Note: Requires administrative permissions.

Syntax

The syntax for this command is:

stcmd{Ex} add-type [-epwdfile "filePath"] [-cmp] [-encrypt encryptionType] 
–s username[:password]@host:port –xml xmlDefinition [–xmlfile pathToXMLDefiniton] [-verify] [-charset “charsetname”]

Refer to the server documentation for the XML schema definition of custom components.

Parameters

For information about the command parameters, refer to Operation Parameters.

In addition:

Parameter Description
verify Does a test that the XML is well formed, and that the type will be able to be created, without actually creating the type on the server. If the schema is incorrect, a server exception will be thrown.