Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

hippo remove property

private void removeProperty(Node node, String property) throws RepositoryException {
    log.debug("Removing " + property + " from node: " + node.getPath());
    if (node.hasProperty(property)) {
        node.getProperty(property).remove();
    }
    log.debug("Removed " + property + " from node: " + node.getPath());
}
 
PREVIOUS NEXT
Tagged: #hippo #remove #property
ADD COMMENT
Topic
Name
2+3 =