Core WCM Components Not Supported for Templates in AEM 6.3 | Adobe Higher Education
Skip to main content
Level 2
May 11, 2018

Core WCM Components Not Supported for Templates in AEM 6.3

  • May 11, 2018
  • 2 Antworten
  • 6255 Ansichten

We are trying to build our custom components extending the core wcm v 2.0.6 components. Templates are all static . We are not using Editable Templates.

For ex:

Our custom Title Component extends the /apps/core/wcm/components/title/v2/title (sling:resourceSuperType)

We are facing the following issue while trying to open the Title Dialog.

Error

java.lang.NullPointerException

at com.day.cq.wcm.core.impl.policies.ContentPolicyManagerImpl.hasStructureTemplate(ContentPolicyManagerImpl.java:218)

Is Static Templates not supported for Core WCM Components? Do we always have to use Editable Template to use the Core WCM Components ?

To build components for static templates which foundation components should we extend in AEM 6.3 if core wcm components cant be used anymore ?

Please clarify.

Dieses Thema wurde für Antworten geschlossen.

2 Antworten

Shashi_Mulugu
Community Advisor
Community Advisor
November 26, 2018

Any solution ?

arunpatidar
Community Advisor
Community Advisor
November 26, 2018

I used core components V1 in AEM 6.3 with static templates.

Arun Patidar
Ratna_Kumar
Level 10
November 26, 2018

Hi Kundan,

As Arun said, Core components V1 will work for static templates as well.

Thanks,

Ratna Kumar

smacdonald2008
Level 10
November 26, 2018

Here is a little video i created showing use of Core Components in the Toy Store Site. You can get the package here to follow along.

Adobe Experience Manager Help | Creating your First Adobe Experience Manager 6.3 website