08-04-2009 11:30 AM
08-05-2009 02:09 AM
setVersioning(space);
function setVersioning(curNode)
{
if (curNode.isContainer)
{
var children = curNode.children;
for (var i=0; i<children.length; i++)
{
setVersioning(children[i]);
}
}
if(curNode.isDocument)
{
if (!curNode.hasAspect("cm:versionable")) {
if (curNode.mimetype!="application/pdf") {
var test = curNode.addAspect("cm:versionable");
logger.log(curNode.name + test);
}
}
}
}
08-05-2009 09:36 AM
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.