03-25-2010 10:51 PM
upload = companyhome.childByNamePath("/Inbox/").createNode("upload" + "_" + filename,"mymodel:doc", props) ;
upload.properties.content.write(content);
upload.properties.encoding = "UTF-8";
upload.save();
Cannot call method "createNode" of null
03-26-2010 08:23 AM
Inbox
In this way:upload = companyhome.childByNamePath("Inbox").createNode("upload" + "_" + filename,"mymodel:doc", props) ;
upload.properties.content.write(content);
upload.properties.encoding = "UTF-8";
upload.save();
Hope this helps.
03-26-2010 11:50 AM
03-26-2010 01:17 PM
No, it does not work. Please do not try to guess the solution. If you have tried and it works then post it.
03-26-2010 03:27 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.