09-19-2014 03:43 AM
var def =
{
query: "@name:283.JPG",
store: "workspace://SpacesStore"
};
var results = search.query(def);
for each(var node in results) {
logger.log(node.name + " (" + node.typeShort + "): " + node.nodeRef);
if(node.hasAspect("icmr:protectedContent")) {
logger.log("Removing aspect");
node.removeAspect("icmr:protectedContent");
}
}
500 Internal Error
An error inside the HTTP server which prevented it from fulfilling the request.
08190051 Wrapped Exception (with status template): 08190009 Failed to execute script 'Javascript Console Script': Class {http://www.alfresco.org/model/icmr/1.0}protectedContent has not been defined in the data dictionary
09-19-2014 06:16 AM
09-19-2014 06:30 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.