Thursday, 11 February 2016

How to Set a Node property in JCR

How to Set a Node property in JCR

How to Add a Node property in JCR 
To set the property of a Node in JCR or AEM we can use the following code snippet in Java.
This uses the
javax.jcr.Node.setProperty(String propertyName, String propertyValue)
function to achive the desired task.


Here's how to delete a Node property in JCR.

No comments:

Post a Comment

Coder Magnet
CoderMagnet is full of resources from our daily development activities. It has solutions for common problematic scenarios in technologies like Java 8, AEM, JCR and also occasionally gives you tips on Blogger as well.