Most examples of the methods for both the menu items and shortcut menus are configured in the example development layer.
For details on which methods are configured on which interface, refer to Design document master model.
The Create and Query methods for the menu items can be quite complex to configure, especially if it is a classified document, as described later. Here are the methods for the basic non-classified document.
BasicDocumentCreate |
On a pull down menu |
Client API |
CreateObj |
Class Definition of object to be created. |
BasicDocVERSIONClassDef |
Title |
Basic Documents |
File attachment configuration |
SPFDesignFile~SPFFileComposition~PROMPT |
-
The class definition to create is the document version.
-
The file class being attached must have a relationship specified and must also know what to do if the specified file cannot be found. PROMPT indicates to ask the user whether to continue or abort the operation.
-
This is a menu item command that presents the class tree in the first page of the wizard.
BasicDocumentQuery |
On a pull down menu |
Client API |
QueryObj |
Relationship Definition to navigate to the Class Definition. |
BasicDocVERSIONClassDef |