AnsweredAssumed Answered

Root Objects : companyhome

Question asked by riadhazzouz on Mar 27, 2019
Latest reply on Mar 29, 2019 by sanjaybandhniya

I wrote this code in a webscript controller

var newFolderName="Configuration";
var newFolderNode=companyhome.childByNamePath(newFolderName);
if (newFolderNode === null) {
//which means newFolder does not exists, so create it


and I'm getting "companyhome" not defined. I found this post but it didn't fix the error.