Displays the new object metadata window.
| Visual Basic |
|---|
Public Function ShowNewObjectWindow( _ ByVal ParentWindow As Long, _ ByVal Mode As MFObjectWindowMode, _ ByVal ObjectCreationInfo As ObjectCreationInfo _ ) As ObjectWindowResult |
| Value | Description |
|---|---|
| MFObjectWindowModeEdit | The default edit mode. |
| MFObjectWindowModeEditApplicationModal | The object shown in the object window is currently open in the application, too. Does not allow the file name to change. |
| MFObjectWindowModeInsert | The default insert mode. |
| MFObjectWindowModeInsertSaveAsType | Shows file type selection in the metadata card. The selectable file types can be specified using ObjectCreationInfo. |
| MFObjectWindowModeInsertSourceFiles | The source files specified in ObjectCreationInfo are added to the new object. |
Use the VaultObjectFileOperations object to add new files to the created object.
This method is available only if M-Files API is used in the client interface mode.