Convert Static Templates to Editable Templates

Avatar

Avatar

sunitac93243435

Avatar

sunitac93243435

sunitac93243435

12-11-2019

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.

1853048_pastedImage_9.png

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 ?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

sunitac93243435

Avatar

sunitac93243435

sunitac93243435

26-11-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

Answers (7)

Answers (7)

Avatar

Avatar

Ankur_Khare

MVP

Avatar

Ankur_Khare

MVP

Ankur_Khare
MVP

13-11-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.

Avatar

Avatar

sunitac93243435

Avatar

sunitac93243435

sunitac93243435

27-11-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

Avatar

Avatar

Ankur_Khare

MVP

Avatar

Ankur_Khare

MVP

Ankur_Khare
MVP

27-11-2019

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

Avatar

Avatar

sunitac93243435

Avatar

sunitac93243435

sunitac93243435

13-11-2019

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

1855178_pastedImage_0.png

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

Avatar

Avatar

sunitac93243435

Avatar

sunitac93243435

sunitac93243435

13-11-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.

1855082_pastedImage_0.png

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

1855083_pastedImage_2.png

let me try these all options and lets see.

Avatar

Avatar

Ankur_Khare

MVP

Avatar

Ankur_Khare

MVP

Ankur_Khare
MVP

13-11-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.

Avatar

Avatar

sunitac93243435

Avatar

sunitac93243435

sunitac93243435

13-11-2019

Dear All ,

Anybody please help me on this ???