Expand my Community achievements bar.

Activate tree programmatically

Avatar

Level 2

Is it posible to launch  a node tree activation programmatically like "Activate Tree" option does in the "Tools" view ? Is there an API ?

1 Reply

Avatar

Level 2

You can use Replicator API for Activate tree option 

Path you can give as :   /content/<proj_name>/    (within that it will activate all)

replicator.replicate(session, ReplicationActionType.ACTIVATE, path,    options);