Knowledgetree metadata has been a pain to interface with. Below is an example of posting metadata to Knowledgetree document. Sending SOAP::Data->type(‘xml’ => $xml) will populate the Date on Document and Notes. I am in the process of incorporating it into my ktdrop.pl script. It is true that you cannot send an array via a HTTP post as said in some forums, but in SOAP there is an array.
$xml = ''; $r = $session->add_document_with_metadata($ktsessionid,$dropboxid,$uploadRes->{name},$uploadRes->{name},$ktDocumenttype,$uploadRes->{filename}, SOAP::Data->type('xml' => $xml), '' );
This is terrific! I’ve been trying to do this on my KnowledgeTree setup to automate the uploading & populating the metadata for 9,000 PDF files – this worked great when I used it in your ktdrop.pl script. I wrapped the perl script into an automator action, and have dropped hundreds of files on it at once – no problems! All upload correctly! Thanks again!
Considerably well written writing…
There was a similar script written in php available on the forge.knowledgetree.com site, but that domain is no longer responsive. You can find a copy of the script here: http://sebastianjcruton.blogspot.com/2012/06/knowledgetree-bulk-upload-script.html