...
Custom metadata can be used if the files to be ingested are unsupported, but requires a little more effort.
Suppose you wished to add some custom metadata, described by the XML document mytype. a metadata document template, called mytype, defines a string called location.
Here is how to set the value of the a child element in mytype called location: metadata value within pshell:
Code Block |
---|
asset.set :id 25480 :meta < :mytype < :location "Perth" > > |
...