Convert Static Templates to Editable Templates | Community
Skip to main content
Level 2
November 12, 2019
Solved

Convert Static Templates to Editable Templates

  • November 12, 2019
  • 8 replies
  • 10816 views

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.
Best answer by sunitac93243435

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
November 13, 2019

Dear All ,

Anybody please help me on this ???

Ankur_Khare
Community Advisor
Community Advisor
November 13, 2019

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.

Level 2
November 13, 2019

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.

Level 2
November 13, 2019

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.

Ankur_Khare
Community Advisor
Community Advisor
November 13, 2019

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

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

sunitac93243435AuthorAccepted solution
Level 2
November 27, 2019

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

Ankur_Khare
Community Advisor
Community Advisor
November 27, 2019

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

Level 2
November 27, 2019

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