WCMUsePojo dependency in AEM 6.0 | Community
Skip to main content
Nitiks25
New Participant
December 21, 2017
Solved

WCMUsePojo dependency in AEM 6.0

  • December 21, 2017
  • 5 replies
  • 2777 views

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

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 Techaspect_Solu

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

5 replies

smacdonald2008
New Participant
December 21, 2017

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

Nitiks25
Nitiks25Author
New Participant
December 21, 2017

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).

smacdonald2008
New Participant
December 21, 2017

Excellent answer Techaspect Solutions Pvt Ltd!

Techaspect_Solu
Techaspect_SoluAccepted solution
New Participant
December 21, 2017

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

Feike_Visser1
Employee
December 21, 2017

To me this is available since AEM6.1