Convert Static Templates to Editable Templates | Community
Skip to main content
Level 2
Nov 12, 2019 11:21 AM UTC
Solved

Convert Static Templates to Editable Templates

Dear All,

I am following below AEM document for converting Static Templates to Editable Templates.

Introducing the AEM Modernization Suite

Before using AEM Moderisation Tool , I want to create Editable Templates first and facing issue for creating Editable templates.

I have static template like below.

and my static template sling:resourcetype is  sunita/components/pages/thankYou.

Now I want to create editable template for this thankyou static template...

How can I use this below content.html in my editable template ????

I am struggling from last 2 days.

I am using AEM 6.5 SP1. Can you please give me some idea how to proceed on this ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
sunitac93243435Accepted solution
Level 2
Nov 27, 2019 7:52 AM UTC

Hi Ka,

My thank you page component is using core page ( core/wcm/components/page/v1/page) and now it is coming fine , after I include my thankyou.html inside my page.html/

Thanks

Sunita

8 replies

Level 2
Nov 27, 2019 11:31 AM UTC

Hi Ka,

It was not working because , the static page thankyou.html is not included in my editable structure page.html (/components/structure/page/page.html). After I include in my page.html (<sly data-sly-include="thankyou.html"></sly>) it is working fine.

Thanks

Sunita

Translate
Ankur_Khare
New Participant
Nov 27, 2019 11:19 AM UTC

Could u pls mark it as correct will be helpful for others..

Translate
sunitac93243435AuthorAccepted solution
Level 2
Nov 27, 2019 7:52 AM UTC

Hi Ka,

My thank you page component is using core page ( core/wcm/components/page/v1/page) and now it is coming fine , after I include my thankyou.html inside my page.html/

Thanks

Sunita

Translate
Ankur_Khare
New Participant
Nov 13, 2019 11:01 AM UTC

Could you please check whether your page component is extending core page conponent.

Also you could create similar structure as we retail page component.

Translate
Level 2
Nov 13, 2019 10:48 AM UTC

I did all the steps , mentioned in above. I am getting no layout while creating editable templates from my editable template type.

Please let me know if I need to do anything else.

Translate
Level 2
Nov 13, 2019 10:10 AM UTC

Hi Ka,

Thanks for replying.

Try creating a page component using this content.html where you can keep everything except the last two components.

So do I need to create page component under components/pages "or" under structure , as shown below.

Also my editable template type uses the structure sling:resourcetype as sunita/components/structure/page , as shown below.

let me try these all options and lets see.

Translate
Ankur_Khare
New Participant
Nov 13, 2019 8:32 AM UTC

Try creating a page component using this content.html where you can keep everything except the last two components.

Those two components you can directly include on editable template.

Hope this helps.

Translate
Level 2
Nov 13, 2019 8:17 AM UTC

Dear All ,

Anybody please help me on this ???

Translate