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);

Ebook Download
View all
Learn
View all