Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Export from MT server in XML
RobH
I am trying to find a way to use either a CLT or API to export selected vocabularies from the MetaTagger server into XML format. Suggestions?
Find more posts tagged with
Comments
nipper
You should be able to do that from MetaTagger Studio
Have you used that ?
RobH
I'm actually looking for an automated way of doing this - not via the GUI (so CLT, or API).
Migrateduser
Rob,
You can get the roots of a taxonomy using the MT Java API:
com.interwoven.icm.mtclient.MetaTaggerClient.getSVTermRoots(field, maxResults)
then iterate over the taxonomy with:
com.interwoven.icm.mtclient.SVTerm.getChildUIDs()
com.interwoven.icm.mtclient.SVTerm.toString()
Regards,
Clark
motlnt
From where can i get the details for this MT Java API?
Any document from where we can get the API details
Migrateduser
<mt-home>\\docs\java\index.html
e.g. :
C:\Program Files\Interwoven\MetaTagger\docs\java\index.html
Rgs
Clark
motlnt
Just to extend this functionality,
I want to implement 2 functionalities:
a> Want to build and deploy index using API or command line so that it useful for Metatagger to browse for vocabularies.
Just want to confirm if this approach is correct(API approach):
1>Establish a connection by host and port.
2>Authenticate a connection with the com. interwoven. icm . metadatamgr. MTAuthenticate object
3>Open a project using com.interwoven.icm.veclient.VEClient.openProject(project name)
4> Build the indexes using com.interwoven.icm.veclient.VEClient.loadVocab(VECallback cb)
After execution of these methods, the vocabularies will be available for Metatagger for searching.
b> I want to export the vocabulary from MT Studio in XML format.
Can i use this method to get the vocabulary in XML format:
com.interwoven.icm.veclient.VEClient.exportXML(java.lang.String fileName,VECallback cb)
Regards,