Home
TeamSite
Import and export metadata
padmanabh
Hi,
I am currently testing the MediaBin api. I am analyzing the metadata part. I am able to get the metadata list and set the values to the individual metadata items. However my requirement is that I need to get all the metadata associated with an asset in an xml file. This file will then be processed and metadata values will be changed by another program. The modified metadata then needs to be applied back to the asset. What is the best way to do this? I did not find any methods in the api for importing and exporting metadata to and from an asset. However I can see ExportMetadata() and ImportMetadata() methods for the container. Is there something similar available for the assets?
Thank you very much for your help!
Find more posts tagged with
Comments
msrinivas
Please take a look at this post:
http://devnet.interwoven.com/forums_vb/showthread.php?t=26179&forumid=46
lyman
A combination of the XML Encoder primitive (i.e., running a job) and the XML Metadata adder should do the trick. Chime in if you have questions about the format of the XML it produces. As noted elsewhere the XML used by the primitives is not the same and XMP. It is a proprietary format (partially this is because it predated the introduction of XMP!).
Cheers,
Lyman Hurd