Click or drag to resize
ConnectionUpdateDocument Method
Updates the properties and/or content information of a document.

Namespace: ICMeridianAPI
Assembly: ICMeridianAPI (in ICMeridianAPI.dll) Version: 4.0.8.0 (4.0.8.0)
Syntax
public void UpdateDocument(
	string vaultidentifier,
	string docid,
	string sourcefilefullpath = "",
	Object properties = null,
	Object values = null
)

Parameters

vaultidentifier
Type: SystemString
The vault in which the document resides.
docid
Type: SystemString
The unique identifier of the document inside the vault.
sourcefilefullpath (Optional)
Type: SystemString
Optional string. A local source file that provides the new document content. If no source file is provided, the document is left unchanged. The source file can also be specified as %<templatename>, where <templatename> is the internal name of the template file associated with the document type of the document.
properties (Optional)
Type: SystemObject
Optional variant array of property names that need to be set with values.
values (Optional)
Type: SystemObject
Optional variant array of values for the properties provided in the properties parameter. The length of the lists should be identical.
Remarks
The values array must be an array of variants. The document has to be checked out when updating the document content. It is not necessary to update the properties and document at the same time. You can update either the properties or the content or both. Just leave the unused parameters empty.
See Also