AEM 6.3 WCM Core Components | Community
Skip to main content
harishv99010453
Level 2
May 24, 2018
Solved

AEM 6.3 WCM Core Components

  • May 24, 2018
  • 8 replies
  • 3596 views

Hi team - We are using wcm core components in our application, however if we spin up the publish instances with "nosamplecontent" the packages related to core components are not getting installed. Is it the recommendation from Adobe ? If that is the case should we explicitly add the packages in publish or do we have any alternatives. At the moment which ever component used wcm core components internally si giving 500 error on publish as we dont have the /apps/core....

Suggestions & thoughts appreciated !

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

You need it on Pub - else the code that uses it will not work.

8 replies

Peter_Puzanovs
Community Advisor
Community Advisor
May 24, 2018

Dear Harish,

Given your code relies on wcm core components and their absence gives 500, would expect you need to install them.

If you think they should be part of Core AEM system. Raise daycare and ask to amend nosamplecontent rules to include core components.

Regards,

Peter

edubey
Level 10
May 24, 2018

Are you saying, even if you manually try to install its not working?

Level 2
May 24, 2018

Activate the core components from the author instance.using content tree activation.

smacdonald2008
Level 10
May 24, 2018

Also - core component can be installed from Github- GitHub - Adobe-Marketing-Cloud/aem-core-wcm-components: Adobe Experience Manager (AEM) Sites Core Components - flexible,…

Just build and deploy following the online Readme.

harishv99010453
Level 2
May 24, 2018

Preveen, nope if I install them I am good

harishv99010453
Level 2
May 24, 2018

smacdonald2008​ ok I will follow github, but my question is it a best practice to have the core comp package in prod publishers, as adobe itself is not including with nosamplecontent run mode

smacdonald2008
smacdonald2008Accepted solution
Level 10
May 24, 2018

You need it on Pub - else the code that uses it will not work.

smacdonald2008
Level 10
May 24, 2018

Say i have a app that uses components whose super resource type is a core component - look:

For this component to render on PUB - the Core Components need to be available on PUB to satisfy this resource super type.