WCMUsePojo dependency in AEM 6.0 | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Techaspect_Solu
Techaspect_SoluAccepted solution
Level 7
Dec 21, 2017 12:30 PM UTC

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
Level 10
Dec 21, 2017 6:58 PM UTC

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

Translate
Nitiks25
Nitiks25Author
Level 2
Dec 21, 2017 6:55 PM UTC

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

Translate
smacdonald2008
Level 10
Dec 21, 2017 3:45 PM UTC

Excellent answer Techaspect Solutions Pvt Ltd!

Translate
Techaspect_Solu
Techaspect_SoluAccepted solution
Level 7
Dec 21, 2017 12:30 PM UTC

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

Translate
Feike_Visser1
Employee
Dec 21, 2017 12:14 PM UTC

To me this is available since AEM6.1

Translate