10-16-2013 02:59 AM
10-22-2013 08:29 AM
11-13-2013 10:12 AM
var rules = search.luceneSearch('+TYPE:"rule:rule"');
for (var i=0, ii=rules.length ; i<ii ; i++) {
var rule = rules,
parent = rule.parent;
// remove rule
rule.remove();
if (parent.children.length === 0) {
// remove "rule:rules" aspect on folder
parent.parent.removeAspect("rule:rules");
// remove "rule folder"
parent.remove();
}
}
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.