How to read property value from a nodeRef in Alfresco
Use the nodeService.getProperty method to get the property value from a particular node.
Syntax :
nodeService.getProperty("<YOUR NODEREF>", "PROPERTY_NAME");
To fetch the datalist name:
String dlName =(String) nodeService.getProperty(nodeRefofyourdatalist, ContentModel.PROP_TITLE);
Use the nodeService.getProperty method to get the property value from a particular node.
Syntax :
nodeService.getProperty("<YOUR NODEREF>", "PROPERTY_NAME");
To fetch the datalist name:
String dlName =(String) nodeService.getProperty(nodeRefofyourdatalist, ContentModel.PROP_TITLE);
No comments:
Post a Comment