Core WCM Components Not Supported for Templates in AEM 6.3 | Community
Skip to main content
Level 2
May 11, 2018 1:07 PM UTC

Core WCM Components Not Supported for Templates in AEM 6.3

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

Ratna_Kumar
Level 10
Nov 26, 2018 3:22 PM UTC

Hi Kundan,

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

Thanks,

Ratna Kumar

Translate
smacdonald2008
Level 10
Nov 26, 2018 7:02 PM UTC

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

Translate
Shashi_Mulugu
New Participant
Nov 26, 2018 1:55 PM UTC

Any solution ?

Translate
arunpatidar
New Participant
Nov 26, 2018 2:09 PM UTC

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

Translate
Arun Patidar