Wednesday, May 29, 2013

Remove node or content without archieve it

Sometime we need to remove content permanant.
system model provide aspect called temporary, please apply it before delete node.



node.addAspect("sys:temporary");
logger.log("Aspect sys:temporary added.");
flag = node.remove();
logger.log("node removed ("+ flag +")");

1 comment:

  1. Hi there, I log on to your new stuff daily. Your humoristic
    style is witty, keep doing what you're doing!

    Here is my site - Payday Loan Online No Credit Check

    ReplyDelete