Hi @venugarg6,
For creating editable template out of custom page component, we need to
- Create proxy page component out of Core V2 Page component. (New component in your project specific folder that inherits from Core V2 page component via sling:resourceSuperType)
- Create Editable template-type which is a template for Editable template. This definition should have initial/jcr:content point to new component as created in previous step.
- From Tools -> General -> Templates -> Create Template -> Editable template-type created in previous step would be available for you to create template out of it.
Custom page component -> Editable template-type -> Editable Template -> Page
Since you are working for the first time in Editable Template, I suggest to refer the we-retail template structure and create similar to it. (Copy paste the template-type definition to project specific folder and update page component in initial and structure nodes)
Consider an example of We-retail Content page template available at /conf/we-retail/settings/wcm/templates/content-page
- Editable template-type is : /conf/we-retail/settings/wcm/template-types/empty-page
- Page component : weretail/components/structure/page (This inherits from core/wcm/components/page/v2/page)
If you still face issues, please do update this thread with error details.