Creates a new document in the vault and optionally sets its properties.
Namespace: ICMeridianAPIAssembly: ICMeridianAPI (in ICMeridianAPI.dll) Version: 1.0.6.0 (1.0.6.0)
Syntax
Parameters
- vaultidentifier
- Type:
System String
The vault in which the new document should be created.
- documentpath
- Type:
System String
The path location in which the new document should be created. The path should not include a filename.
- filename
- Type:
System String
The name of the new document.
- doctypename (Optional)
- Type:
System String
The document type name to be used for the new document. The vault’s default document type is used if no document type is specified or the user interface will be activated if no decision can be made.
- sourcefilefullpath (Optional)
- Type:
System String
A local source file that provides the content of the new document. If no source file is specified, the document is either left empty or the user is asked to select a template if document templates are defined.
- properties (Optional)
- Type:
System Object
An array of property names for the new document that need to be initialized with values.
- values (Optional)
- Type:
System Object
An array of values for the properties specified in the properties parameter. The dimensions of the properties array and values array should be identical. The values array must be an array of variants.
Return Value
ID of the newly created documentRemarks
See Also