Changing sling:resourceType on existing pages?
In my website, I have a need to change the sling:resourceType for my homepage. I am introducing a new field to the homepage properties specifically.
I have:
- Created a new component for my homepage under apps/mysite/components/pages/home-page
- Updated the sling:resourceType to point to this component for conf/mysite/settings/wcm/templates/home-page/initial and conf/mysite/settings/wcm/templates/home-page/structure
- Updated the JCR directly in my local sandbox's homepage, and verified that everything works as expected
However, in AEMaaCS, I cannot access the JCR and modify content there directly. I am noticing that even though the template is updated and deployed, the existing homepage is still leveraging the prior sling:resourceType.
What is the best way to get the sling:resourceType updated in AEMaaCS without losing existing content?