sidekick.js issues inmigration from cq5.4 to cq5.5.. | Community
Skip to main content
Level 3
October 16, 2015
Solved

sidekick.js issues inmigration from cq5.4 to cq5.5..

  • October 16, 2015
  • 2 replies
  • 1041 views

Hi,

I am currently using cq5.4 and in author sidekick and side admin page iam having two separate options for activating the two publishers..

It is working fine but we want to migrate from cq5.4 to cq5.5...While doing we are unable to find those options in sidekick and siteadmin page aswell..

Is there any api changes happens from cq5.4 to cq5.5..

Thanks,

Sony C

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by

Check the init.jsp file that gets referenced in the foundation page component's head.jsp. That is where any changes in the JS that launches the sidekick would probably occur. I'm not specifically aware of any, but I wouldn't be surprised if there were some. I believe that file resides in /libs/cq/wcm/core/components/init/ or something like that.

Interesting timing, because I just started a thread about a different challenge I'm having with adding additional sidekick items.

2 replies

Accepted solution
October 16, 2015

Check the init.jsp file that gets referenced in the foundation page component's head.jsp. That is where any changes in the JS that launches the sidekick would probably occur. I'm not specifically aware of any, but I wouldn't be surprised if there were some. I believe that file resides in /libs/cq/wcm/core/components/init/ or something like that.

Interesting timing, because I just started a thread about a different challenge I'm having with adding additional sidekick items.

Sony006Author
Level 3
October 16, 2015

Thanks for reply Ryan,

But i identified something new here..when i am using cq5.5 my user authentication method is not getting executed, So items are not showing up in the sidekick.

Here i am specifying methods which are getting error while calling,

1)CQ.User.getCurrentUser().hasPermissionOn("wcm/core/privileges/replicate", CQ.wcm.Sidekick.findSidekick(this).getPath())

2)user.hasPermissionOn(Replicator.REPLICATION_PERMISSION, resource_prsnt.getPath())

So, is there any restriction to use these methods in cq5.5?

How to achieve this in cq5.5?

Thanks,

Sony C