M-Files API 23.11.13135.0
ShowPrefilledNewObjectWindow Method
VaultObjectOperations Object : ShowPrefilledNewObjectWindow Method

In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.

In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.

Description
Displays a new object metadata window.
Syntax
Visual Basic
Public Function ShowPrefilledNewObjectWindow( _
   ByVal ParentWindow As Long, _
   ByVal Mode As MFObjectWindowMode, _
   ByVal ObjectCreationInfo As ObjectCreationInfo, _
   Optional ByVal PrefilledPropertyValues As PropertyValues = 0, _
   Optional ByVal AccessControlList As AccessControlList = 0 _
) As ObjectWindowResult
Parameters
ParentWindow
Mode
ValueDescription
MFObjectWindowModeEditThe default edit mode.
MFObjectWindowModeEditApplicationModalThe object shown in the object window is currently open in the application, too. Does not allow the file name to change.
MFObjectWindowModeInsertThe default insert mode.
MFObjectWindowModeInsertSaveAsTypeShows file type selection in the metadata card. The selectable file types can be specified using ObjectCreationInfo.
MFObjectWindowModeInsertSourceFilesThe source files specified in ObjectCreationInfo are added to the new object.
ObjectCreationInfo
PrefilledPropertyValues

In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.

AccessControlList

In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.

Remarks

This method is available only if M-Files API is used in the client interface mode.

See Also

VaultObjectOperations Object  | VaultObjectOperations Members