The CreateObj client API is used to create a non-classified object from a menu. Use CreateClassObj to create the classified objects from the menu and CreateClassObjFromClass to create the classified object from the shortcut menu of the class tree. Similar client APIs are available for query.
For example, create a pull-down menu method with the following details:
Name: |
CSTCreateCustomDoc |
Client API: |
CreateClassObj |
RelDef: |
CSTDocClassClassDef |
Allow Drilldown: |
True |
Top Node: |
DC_Document_category_1 (actually UID) |
Filtering: |
ISPFDesignDocClass ** |
Title: |
Custom Documents |
File Attachment: |
SPFDesignFile~SPFFileComposition~PROMPT |
-
Note that this restricts the availability of classification tree nodes as described below. In this case, ISPFDesignDocClass is used to ignore Template and System document nodes.
-
To create a shortcut menu method, use the CreateClassObjFromClass client API, and relate the method to the relevant class tree interface.