Hi All,
I have title/parsys multiple times in my component, title is visible and parsys is hidden, when title is clicked parsys content is visible and clicked again on title will hide parsys content. This is working fine in descktop view in AEM6.2
But same functionality is not working in mobile or tablet view. It is throwing below error
Error 1 : CQ.WCM undefined.
Error 2 : Uncaught TypeError: Cannot read property 'getEditable' of undefined
Below is the code in js file.
console.log("CQ.WCM", CQ.WCM);
Any help is highly appreciated.
Thanks,
Pradeep
Views
Replies
Total Likes
In desktop, are you verifying this in publish instance or author ?
As per me cq.wcm will not work in publish since its part of author clientlib and will not load in publish.
Views
Replies
Total Likes
Hi,
I am verifying in Author. Didn't configure publish in my local.
Views
Replies
Total Likes
okay, that's the reason its working in desktop,
my next question, in which mode (author/publish) you are verifying in mobile?
Views
Replies
Total Likes
I am verifying in preview/edit mode, both are not working also tried in wcmmode=disabled in url. None worked
Views
Replies
Total Likes
We are also facing the same issue in AEM 6.1.(author instance). Did you get the solution?
geteditable('content2/jcr:content/par/component1'); when used in content1 is returning 'undefined'.
Thanks!!
Views
Replies
Total Likes
Views
Likes
Replies