Connection UpdateDocument Method BlueCielo Meridian Connection API 2013 Reference Guide | BlueCielo ECM Solutions
Updates the properties and/or content information of a document.

Namespace: ICMeridianAPI
Assembly: ICMeridianAPI (in ICMeridianAPI.dll) Version: 1.0.6.0 (1.0.6.0)
Syntax

public void UpdateDocument(
	string vaultidentifier,
	string docid,
	string sourcefilefullpath,
	Object properties = null,
	Object values = null
)

Parameters

vaultidentifier
Type: OnlineSystem String
The vault in which the document resides.
docid
Type: OnlineSystem String
The unique identifier of the document inside the vault.
sourcefilefullpath
Type: OnlineSystem String
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: OnlineSystem Object
Optional variant array of property names that need to be set with values.
values (Optional)
Type: OnlineSystem Object
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