BlueCielo Meridian Connection API 2012 Reference Guide | BlueCielo ECM Solutions |
You are here:
Namespaces > ICMeridianAPI > Connection > UpdateDocument(String, String, String, Object, Object)
UpdateDocument Method (vaultidentifier, docid, sourcefilefullpath, properties, values)
Updates the properties and/or content information of a document.

C# | Visual Basic | Visual C++ |

- vaultidentifier (String)
- The vault in which the document resides.
- docid (String)
- The unique identifier of the document inside the vault.
- sourcefilefullpath (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 (Object)
- Optional variant array of property names that need to be set with values.
- values (Object)
- Optional variant array of values for the properties provided in the properties parameter. The length of the lists should be identical.

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.