Show Menu
TOPICS×

MetadataUpdate

Sets metadata values for a specific asset used with setAssetMetadata. Describes the changes you want to make to metadata.
If the single value field is passed, the asset’s tag value will be reset to the specified tag value.

Parameters

Name Type Description
fieldHandle xsd:string Metadata field handle.
value xsd:string Metadata update value.
boolVal xsd:boolean Boolean metadata value (for Boolean-typed fields only).
longVal xsd:long Long metadata value (for int-typed fields only).
doubleVal xsd:double Double metadata value (for float-typed fields only).
dateVal xsd:dateTime Date metadata value (for date-typed fields only).
addTagValueArray types:StringArray
Adds to the existing tag value list for the asset.
  • Single-value tag fields store the last value only.
  • A fixed dictionary tag field returns a fault if the value is not in the dictionary.
setTagValueArray types:StringArray Replaces the existing tag value list for the asset.
  • Single-value tag fields store the last value only.
  • A fixed dictionary tag field returns a fault if the value is not in the dictionary.
deleteTagValueArray types:StringArray Deletes the specified values from the asset’s tag value list, if present.