WCMUsePojo dependency in AEM 6.0 | Adobe Higher Education
Skip to main content
Nitiks25
Level 2
December 21, 2017
Beantwortet

WCMUsePojo dependency in AEM 6.0

  • December 21, 2017
  • 5 Antworten
  • 2777 Ansichten

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

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von 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 Antworten

Feike_Visser1
Adobe Employee
Adobe Employee
December 21, 2017

To me this is available since AEM6.1

Techaspect_Solu
Level 7
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

smacdonald2008
Level 10
December 21, 2017

Excellent answer Techaspect Solutions Pvt Ltd!

Nitiks25
Level 2
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
Level 10
December 21, 2017

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