I see there are two resourceType, one is under the libs and another is under the apps. I would like to know if I define a page, which resourceSupterType should I use and why?
/apps/core/wcm/components/page/v1/page vs. /libs/wcm/foundation/components/page
Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
The one in /apps/core is new in AEM6.3, part of the new core components.
The other location is from the foundation components, introduced in 6.0
If you are starting a new project/implementation I would use /apps/core
Views
Replies
Total Likes
The one in /apps/core is new in AEM6.3, part of the new core components.
The other location is from the foundation components, introduced in 6.0
If you are starting a new project/implementation I would use /apps/core
Views
Replies
Total Likes
BigT168 wrote...
I see there are two resourceType, one is under the libs and another is under the apps. I would like to know if I define a page, which resourceSupterType should I use and why?
/apps/core/wcm/components/page/v1/page vs. /libs/wcm/foundation/components/page
Thanks.
As someone mentioned, use /core if you have done modifications to the design, In general for new project Supertype is always a new folder under apps
Views
Replies
Total Likes
Thank you both.
However, I have two more questions.
1. What's the benefit to use /apps/core, any document to specify the pros and cons between "/apps/core" and "/libs/wcm/foundation/components/page"?
2. We already developed the apps using "/libs/wcm/foundation/components/page", just wonder if we should modify the resourceSuperType to point to /apps/core/. If we do, what's the implication since the nodes under the page of /apps/core are a little bit different from the one under the /libs/wcm/foundation/components/page. I don't see analytics, author.html and couple other nodes under /apps/core, I do see additional socialmedia related nodes are added in /apps/core.
Thank you in advance.
Views
Replies
Total Likes
Bhargav Coca wrote...
BigT168 wrote...
I see there are two resourceType, one is under the libs and another is under the apps. I would like to know if I define a page, which resourceSupterType should I use and why?
/apps/core/wcm/components/page/v1/page vs. /libs/wcm/foundation/components/page
Thanks.
As someone mentioned, use /core if you have done modifications to the design, In general for new project Supertype is always a new folder under apps
Thank you.
What do you mean "modifications to the design"?
Views
Replies
Total Likes
I figure if we use /apps/core, the classic UI is not supported. Unless we convert all our components to touch UI, for now, we can't use /apps/core.
Thanks.
Views
Replies
Total Likes
Views
Likes
Replies