Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

SocialUtils is depricated

Avatar

Level 3

SocialUtils is depricated under AEM 6.1. What used to instead?

1 Accepted Solution

Avatar

Correct answer by
Level 9

SocialUtils is only marked deprecated as of AEM 6.1.  You can use these methods while paying attention when replacement information is available.  

That information would be made available in release notes, but also likely in the AEM Communities developer section of the documentation, such as http://docs.adobe.com/docs/en/aem/6-1/develop/communities/scf/srp.html#Method to Access UGC

Hope this helps.

- JK

View solution in original post

3 Replies

Avatar

Correct answer by
Level 9

SocialUtils is only marked deprecated as of AEM 6.1.  You can use these methods while paying attention when replacement information is available.  

That information would be made available in release notes, but also likely in the AEM Communities developer section of the documentation, such as http://docs.adobe.com/docs/en/aem/6-1/develop/communities/scf/srp.html#Method to Access UGC

Hope this helps.

- JK

Avatar

Level 4

The docs have still not been updated with a suitable replacement for com.adobe.cq.social.ugcbase.SocialUtils.

Any idea if there is a suitable alternate available? Or should I just continue using the SocialUtils deprecated class & methods?

Avatar

Employee

For 6.1 GM unfortunately using the deprecated SocialUtils is the only option. There will be an upcoming Communities FP4 for 6.1 which will offer the new APIs that will also be in 6.2.