Pages

Thursday, 12 September 2013

Disabling the "Target" context menu item on cq:editConfig in AEM v5.6

We can disable this menu at component level by setting cq:editConfig/cq:disableTargeting to true

1 comment:

  1. Thanks for the above solution Rama Krishna.

    I have an other issue with this Disable Targeting.
    When we go to the target mode and right click on the component it should show an option saying DISABLE TARGET, but i am not getting that option and unable get back to the original edit mode options.


    Can you please suggest some solution on this

    Thanks in advance

    ReplyDelete

Converting InputStream to String

    private String convertToString(InputStream inputStreamObj)             throws IOException {         if (inputStreamObj != null) {     ...