Open topic with navigation

# Updates Parameter

The `updates` parameter updates a document's metadata without updating the content. Updates are specified using XML similar to that for adds. The following table describes the XML elements that you can use for each update.

XML element | Description
--- | ---
`update` | The `update` element describes a single document that should be updated. To update multiple documents, use further `update` sections. This must contain a `reference`, and can optionally contain `metadata` and `xmlmetadata`.
`reference` (required) | The `reference` element is used to provide a unique reference (DREREFERENCE) for the document to be updated.
`metadata` (optional) | The `metadata` element is used to provide a key value pair describing the metadata to be updated. `name` is the name of the metadata field `value` is the value of the field
`xmlmetadata` (optional) | The `xmlmetadata` element contains any XML metadata that should be updated.

## Example

    <Updates>
       <update>
          <reference>C:\Autonomy\newfs\data\050309-020409.xls</reference>
          <metadata name="LASTMODIFIED" value="2009-Apr-06 10:21:15.032472" />
       </update>

       <update>
          <reference>C:\Autonomy\newfs\data\070610-100610.xls</reference>
          <metadata name="LASTMODIFIED" value="2010-Jun-14 13:52:24.041742" />
       </update>
    </Updates>

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm