As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
public static final QName PROP_DOCUMENT_NAME = QName.createQName("cm", "name"); String DocumentName = (String)this.nodeService.getProperty(actionedUponNodeRef, PROP_DOCUMENT_NAME); System.out.println("Doc name : " + DocumentName);
Doc name : null
String DocumentName = (String)this.nodeService.getProperty(actionedUponNodeRef, ContentModel.PROP_NAME); System.out.println("Doc name : " + DocumentName);