Highlighted

Core WCM Components Not Supported for Templates in AEM 6.3

Avatar

Avatar

Kundan_Ray1

Avatar

Kundan_Ray1

Kundan_Ray1

11-05-2018

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.

Replies

Highlighted

Avatar

Avatar

Shashi_Mulugu

MVP

Avatar

Shashi_Mulugu

MVP

Shashi_Mulugu
MVP

26-11-2018

Any solution ?

Highlighted

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

26-11-2018

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

Highlighted

Avatar

Avatar

Ratna_Kumar

MVP

Avatar

Ratna_Kumar

MVP

Ratna_Kumar
MVP

26-11-2018

Hi Kundan,

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

Thanks,

Ratna Kumar

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

26-11-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