Hello,
Is there any way i could restrict the sidekick view to a particular user using permissions in AEM?
I would like to hide the Versioning and the Information in Sidekick indicated by a lock and clock symbol., along with the scaffolding as indicated in red(attached) in the sidekick.
Please let me know.
Regards,
Nicole
Solved! Go to Solution.
Views
Replies
Total Likes
hello Nicole,
I am not aware of associating profile to sidekick... however you can always hide/disabled the necessary UI elements as explained in the above blogpost....
Views
Replies
Total Likes
Nicole,
Check this blog post, it has information on how to get the sidekick and disable components panel
http://experience-aem.blogspot.com/2013/08/get-sidekick-instance-and-disable.html
Based on userid you can execute the script and selectively disable (setDisabled()) or hide (setVisible) sidekick elements
To see the workflow tab first, a quick and crude way is to get the tab panel and set the workflow tab as active on page load
CQ.WCM.getSidekick().items.items[0].setActiveTab(4);// workflow tab becomes active
thanks
sreekanth
Views
Replies
Total Likes
You can dynamically change the appearance of the sidekick by workign at the JSEXT level. See this community article as an example - as an example of modifying the sidekick -- it adds a button:
http://aemfaq.blogspot.ca/2013/04/adding-button-to-sidekick.html
Your use case would involve more code -- but with the right app logic - you can do it.
Here is another piece of content that may help:
https://gist.github.com/kand/4733278
HTH
Scott
Views
Replies
Total Likes
So Scott, would there be no easy way to hide the icons in sidekick using permissions? i was hoping there would be one :(
Views
Replies
Total Likes
sreekanth choudry nalabotu wrote...
Nicole,
Check this blog post, it has information on how to get the sidekick and disable components panel
http://experience-aem.blogspot.com/2013/08/get-sidekick-instance-and-disable.html
Based on userid you can execute the script and selectively disable (setDisabled()) or hide (setVisible) sidekick elements
To see the workflow tab first, a quick and crude way is to get the tab panel and set the workflow tab as active on page load
CQ.WCM.getSidekick().items.items[0].setActiveTab(4);// workflow tab becomes active
thanks
sreekanth
Hello Sreekanth,
Thanks for your suggestion, could you guide me a little further as to how we could have the user or user's profile associated to the sidekick. The user would just be a reviewer of a page who has to see limited items in sidekick.
Wondering where i could and how i could associate the profile to the sidekick.
Please let me know.
Thanks,
Nicole
Views
Replies
Total Likes
No - you have to code to get the full results that you want. However - having said that -- take a look at this thread:
Views
Replies
Total Likes
hello Nicole,
I am not aware of associating profile to sidekick... however you can always hide/disabled the necessary UI elements as explained in the above blogpost....
Views
Replies
Total Likes
Thanks Scott,Managed to actually avoid the design mode coming up, using permissions, but the rest of the icons is what am targetting now. Thanks for your kind suggestions:) will check and update if i am abloe to make progress playing around with permissions,
Also is it possible that when a user clicks a page he sees the Workflow tab in sidekick first than the components tab?, so that workflow tab in sidekick is something that user views first and reminds him of his task to trigger workflow?
Regards,
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies