Is there any way to find out whether we have opened this page in Touch UI or classic UI in javascript
like we have in classic UI to find out whether page is in edit mode or design mode.
CQ.WCM.editMode
Please suggest.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
I would recommend to you widget API method provided for these:
https://docs.adobe.com/docs/en/cq/5-6-1/widgets-api/index.html?class=CQ.WCM
getMode() - Returns either the current WCM mode: MODE_EDIT, MODE_PREVIEW and MODE_DESIGN, or MODE_TIMEWARP
Thanks
Views
Replies
Total Likes
Easiest way to find out a solution in javascript is through
This could work for now However, if someone changes these URL's
---Jitendra
manank71376227 wrote...
Is there any way to find out whether we have opened this page in Touch UI or classic UI in javascript
like we have in classic UI to find out whetherpage is in edit mode or design mode.
CQ
. WCM. editMode
Please suggest.
Views
Replies
Total Likes
Hi,
I would recommend to you widget API method provided for these:
https://docs.adobe.com/docs/en/cq/5-6-1/widgets-api/index.html?class=CQ.WCM
getMode() - Returns either the current WCM mode: MODE_EDIT, MODE_PREVIEW and MODE_DESIGN, or MODE_TIMEWARP
Thanks
Views
Replies
Total Likes
Views
Replies
Total Likes