Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 mytypea 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 locationmetadata value within pshell:

Code Block
asset.set :id 25480 :meta < :mytype < :location "Perth" > >

...