Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Convert Static Templates to Editable Templates

Avatar

Level 2

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 ?

1 Accepted Solution

Avatar

Correct answer by
Level 2

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

View solution in original post

8 Replies

Avatar

Level 2

Dear All ,

Anybody please help me on this ???

Avatar

Community Advisor

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

Level 2

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

Level 2

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

Community Advisor

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

Correct answer by
Level 2

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

Avatar

Community Advisor

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

Avatar

Level 2

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