I have added a new tab and functionality in the sidekick, so I have overlayed /libs/wcm/core/content/editor/jcr:content/sidepanels/edit/items/tabs/items, and added a new tab into it. but I am unable to add clientlibs to it to add my functionality.
Solved! Go to Solution.
Views
Replies
Total Likes
Well, I found that we can add functionalities like we create content component to the page and add it to the tabs node of the editor.html page.
Views
Replies
Total Likes
is there any clientLibs loading in sidekick in OOTB?
just confirming.
~ Prince
Views
Replies
Total Likes
There are a few clientlibs, but all of it are for ClassiC UI, and I am working in AEM 6.4 Touch UI. Other than clientlib how else can I add functionality to the new tab, like TextField, Button, etc. @Prince Shivhare
Views
Replies
Total Likes
I can see editor.html - /libs/wcm/core/content/editor
is nothing but a cq:page. can you please try doing the same thing as we do for our website content pages.
Also, sidekick means left rail you are talking about right?
and if you already have a clientLib then I would suggest that overlay and modified them.
~ Prince
Views
Replies
Total Likes
In this path:/libs/wcm/core/content/editor/jcr:content/sidepanels/edit/items/tabs/items, editor is of type 'cq:page'. If we check below they have added tabs and each tab has its functionalities, I have added my tab there but I am unable to add my functionality to it. How did they add those functionalities to those tabs?
Yes, by sidekick i mean the left rail.
Views
Replies
Total Likes
have you tried a modification of existing clientlib which is being used?
Views
Replies
Total Likes
Yes, I have tried to add a js file to the existing clientlibs, with a line of 'window.alert', but it loads when I goto Classic UI->Websites (http://localhost:/siteadmin), it doesnt work when I edit a page in touch ui. The path I tried is : path: /libs/cq/ui/widgets/source/widgets/wcm/Sidekick.js and clientlib: /libs/cq/ui/widgets
Views
Replies
Total Likes
Editing a page in TOuch UI does not impact the Side Kick - which is a Classic UI tool.
Views
Replies
Total Likes
/libs/cq/ui/widgets/source/widgets/wcm/Sidekick.js
the path itself is saying it's classic ui. try on touch ui clientlib.
/libs/wcm/core/content/editor - in this path I can see one clientlib is loaded. please check there.
~ Prince
Views
Replies
Total Likes
I wanted to make changes to the sidekick. Customization of it. @smacdonald2008
Views
Replies
Total Likes
Well, I found that we can add functionalities like we create content component to the page and add it to the tabs node of the editor.html page.
Views
Replies
Total Likes