Hi All,
We have a requirement where we didn't want to display the Target and New option in Edit Configuration to the Author. One way to doing so is overriding the Editbase.js and move it under /apps/cq/ui/widgets/source/widgets/wcm/EditBase.js.This way the js file residing under apps will be picked.
The issue with the above approach is that we always need to manually update the file w.r.t to the AEM version \ change.
It will be helpful if somebody let us know if their is any configuration by which we can disable these options or any property in cq:Editconfig node by which this can be achieved.
Thanks in advance,
Shikha
Solved! Go to Solution.
Hi Sikha,
To disable "target" option when edit the component you need to add property cq:disableTargeting="true" to cq:editConfig Node.
Hope this resolves your issue.
Hi Sikha,
To disable "target" option when edit the component you need to add property cq:disableTargeting="true" to cq:editConfig Node.
Hope this resolves your issue.
Please confirm If it solved your issue.
Views
Replies
Total Likes