0 Replies Latest reply on May 25, 2012 4:33 AM by emprizer2

    How to get Node Properties by js script?

    emprizer2

      I have a customised client script implementing some functions similair to "CQ.wcm.SiteAdmin.scheduleForActivation".

      But when the user trigger the dialog and before the submission, I'd like to do some processes with the properties of some nodes (components in some parsys).

       

      My question is... I know in .jsp, I can get the properties of a node by node.getProperty("someProp");

      But... How can I achieve the same result in .js scripts?