Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

Avatar

Level 3

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

1 Accepted Solution

Avatar

Correct answer by
Level 5

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.

View solution in original post

0 Replies

Avatar

Correct answer by
Level 5

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.

Avatar

Level 3

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