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 CreateNewObjectEx( _ 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 ObjectVersionAndProperties |
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 found from the M-Files UI.