The access control list for the new object.
In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.
Visual Basic |
---|
Public Function CreateNewObjectExQuick( _ ByVal ObjectType As Long, _ ByVal Properties As PropertyValues, _ Optional ByVal SourceFiles As SourceObjectFiles = 0, _ Optional ByVal SFD As Boolean = False, _ Optional ByVal CheckIn As Boolean = True, _ Optional ByVal AccessControlList As AccessControlList = 0 _ ) As Long |
The access control list for the new object.
In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.
At a minimum, the property values collection needs to contain property values and other required property definitions for the object class.
In the current implementation this method is not fully transactional. For example, if the source file(s) cannot be uploaded the newly created object is left checked out and cannot be accessed from the M-Files UI.
This method is available only if M-Files API is used in the server interface mode.