Highlighted

Template for parent component

Avatar

Avatar

prasanth_subram

Avatar

prasanth_subram

prasanth_subram

30-11-2018

If i am having a url like localhost:4502/content/samplesite/Home-page/common-page1.html  where common-page1 is child component, samplesite is parent component. How can i create template for the parent component?

Replies

Highlighted

Avatar

Avatar

Abambo

Avatar

Abambo

Abambo

30-11-2018

What product are you using, so that a forum moderator can move your question to the appropriate forum?

Highlighted

Avatar

Avatar

prasanth_subram

Avatar

prasanth_subram

prasanth_subram

30-11-2018

Abambo​ I am using AEM 6.4.

Highlighted

Avatar

Avatar

Abambo

Avatar

Abambo

Abambo

30-11-2018

Discussion successfully moved from Adobe Creative Cloud to Adobe Experience Manager

Highlighted

Avatar

Avatar

Ratna_Kumar

MVP

Avatar

Ratna_Kumar

MVP

Ratna_Kumar
MVP

30-11-2018

Hi Prasanth,

First thing, those are not components at all. common-page1 is only page and samplesite is the website.

Also, if you want to learn Sling Resource Resolution, see this http://www.aemcq5tutorials.com/tutorials/sling-resource-resolution-aem/

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

30-11-2018

Also - for AEM 6.4 - you should be building pages based on editable templates. See this article for more information:

Adobe Experience Manager Help | Creating an Adobe Experience Manager 6.4 website using Editable Temp...

As Ratna states - common-page1 is a page, not a component. Go through that article and you will learn about editable templates, pages, and components that populate pages.