It's working fine.I tried the below piece of code.

Session session = MgnlContext.getJCRSession("data");
Node folder = session.getNode("/MyFolder");
Node node = folder.getNode("myNode");
session.removeItem(node.getPath());
session.save();

Thanks,
Sonali

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=481f2e77-7378-4611-9dc7-6950e4bf76bf


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to