Purpose: I want to hide the parsys in the live copy page Solution: Add this script below the code include parsys < cq :include path ="par" resourceType ="foundation/components/parsys" /> < c :if test =" ${ wcmMode ne 'PREVIEW' && wcmMode ne 'DISABLED' } " > <script type= "text/javascript" > if (Granite && Granite. author ) { Granite. author .getEditableConfigNode( " ${ currentNode.path } /par/*" ). remove () ; } </script> </ c :if >