Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

brxm 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: #brxm #remove #property
ADD COMMENT
Topic
Name
3+3 =