Open topic with navigation

# AddObjectMetadata

Adds custom metadata (a key-value pair) to an object.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`database` | The name of the database that contains the object. | Yes
`identifier` | The identifier of the object that you want to add metadata to. | Yes
`key` | The key to add (maximum 254 bytes). | Yes
`value` | The value to add (maximum 254 bytes). | Yes

## Example

The following example adds metadata to an object:

    /action=AddObjectMetadata&database=CompanyLogos
                             &identifier=6d8e53fd92e601a4b8948e1b9397e381
                             &key=CompanyName
                             &value=Hewlett%20Packard

## Response

    <autnresponse>
      <action>ADDOBJECTMETADATA</action>
      <response>SUCCESS</response>
      <responsedata></responsedata>
    </autnresponse>

© 2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus 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