AEM Upgradation from 5.5 to 6.2. Which API to be used for Collab dependency | Community
Skip to main content
swapnan73983825
Level 2
January 16, 2017
Solved

AEM Upgradation from 5.5 to 6.2. Which API to be used for Collab dependency

  • January 16, 2017
  • 6 replies
  • 2752 views

Hi All,

We are upgrading our CQ instance from 5.5 to AEM 6.2. We are basically using the below com.day.cq.collab : cq-collab-commons : 5.5.2 dependency in CQ 5.5. Since the collab API is deprecated in higher versions (https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/collab/commons/CollabUser.html), what is the alternative API's which can be used?

We are extensively using the below API's in the project. Since we are upgrading to AEM 6.2, we need to find out the alternative API's for the same.

com.day.cq.collab.commons.AbstractCreateCommentServlet;
com.day.cq.collab.commons.CollabUtil;
com.day.cq.collab.commons.Rating;
com.day.cq.collab.commons.RatingException;
com.day.cq.collab.commons.RatingSystem;

Thanks In Advance

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

6 replies

smacdonald2008
Level 10
January 16, 2017

THIs is a really good question - the Javadoc should state the replacement API. I am checking into this for you. 

smacdonald2008
smacdonald2008Accepted solution
Level 10
January 16, 2017
swapnan73983825
Level 2
January 16, 2017

Thanks Scott for providing the latest doc link. 

I am not finding much upgraded documentation for com.day.cq.collab.commons.Rating and com.day.cq.collab.commons.RatingSystem. 

Do you have any pointer on this API, what should be the alternative api used for the Review and Ratings?

Thanks

JK_Kendall
Level 9
January 16, 2017

Hi Swapna,

It is not possible to simply switch from 5.6.1 collab APIs to 6.2 social component framework (SCF) APIs.

You need to upgrade from 5.6.1 to 6.2.  One way to get a handle on the upgrade is to move from cq-socialcommunities-pkg-1.3 (delivered in AEM 5.6.1) to cq-socialcommunities-pkg-1.4.  Minimally, you'll change from using JSP components to HBS (HandleBars) components.

In AEM 6.2, you'll find "dev essentials" pages for all the components, including Reviews and Rating.

There is much to learn about the new framework.  One major feature is the replacement of replication to synchronize user generaged content (UGC) with a shared store, a storage resource provider (SRP).

Hope this helps,

- JK

JK_Kendall
Level 9
January 16, 2017

Hi,

This question is being moved to the AEM Communities topic, where you will find more questions/discussions from others that may be of help.

See also README : About the AEM Communities Topic

- JK

swapnan73983825
Level 2
January 17, 2017

Thanks JK. Very useful information.