07-10-2013 06:22 AM
07-10-2013 07:51 AM
07-11-2013 08:40 AM
// Make sure our node exists
NodeRef nodeRef = new NodeRef("workspace://SpacesStore/e0776399-35a8-4b22-be03-7109a3086865");
if (! nodeService.exists(nodeRef)) {
throw new AlfrescoRuntimeException("Sorry, " + nodeRef + " doesn't exist");
}
// Fetch all the properties
Map<QName, Serializable> props = nodeService.getProperties(nodeRef);
// Fetch a few common properties
String name = (String)props.get(ContentModel.PROP_NAME;
String title = (String)props.get(ContentModel.PROP_TITLE);
01-03-2014 12:08 AM
09-11-2013 11:24 AM
var node = utils.getNodeFromString("workspace://SpacesStore/e0776399-35a8-4b22-be03-7109a3086865");
var name = node.properties["cm:name"]);
var title = node.properties["cm:title"]);
12-09-2013 10:02 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.