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

WCMUsePojo dependency in AEM 6.0

Avatar

Level 3

Is WCMUsePojo available in AEM 6.0. If so, what is the maven dependency for it.

1 Accepted Solution

Avatar

Correct answer by
Level 7

Hi,

WCMUse API was deprecated and was replaced by WCMUsePojo API from AEM 6.1 onwards.

However, you can use WCMUse API in AEM 6.0. Please refer the link below. It aims at creating an Adobe Experience Manager HTML Template Language component that uses the WCMUse API:

Adobe Experience Manager Help | Creating your first AEM HTML Template Language component

We hope this helps!

Regards,

TechAspect Solutions

View solution in original post

5 Replies

Avatar

Employee

To me this is available since AEM6.1

Avatar

Correct answer by
Level 7

Hi,

WCMUse API was deprecated and was replaced by WCMUsePojo API from AEM 6.1 onwards.

However, you can use WCMUse API in AEM 6.0. Please refer the link below. It aims at creating an Adobe Experience Manager HTML Template Language component that uses the WCMUse API:

Adobe Experience Manager Help | Creating your first AEM HTML Template Language component

We hope this helps!

Regards,

TechAspect Solutions

Avatar

Level 10

Excellent answer Techaspect Solutions Pvt Ltd!

Avatar

Level 3

Thanks TechAspect Solutions,

Just wanted to ask is there any dependency for WCMUsePojo that can be used in aem6.0. I am asking this because soon I will be moving to 6.2 so wanted to make sure that I am not using deprecated classes(WCMUse).

Avatar

Level 10

If you are using 6.0 - you are not using deprecated classes. Always use the version that matches your AEM version.