Expand my Community achievements bar.

Core WCM Components Not Supported for Templates in AEM 6.3

Avatar

Level 2

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.

4 Replies

Avatar

Community Advisor

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



Arun Patidar

Avatar

Level 10

Hi Kundan,

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

Thanks,

Ratna Kumar

Avatar

Level 10

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