Content migration from one template to the other | Community
Skip to main content
mia_kn
August 11, 2016
Solved

Content migration from one template to the other

  • August 11, 2016
  • 11 replies
  • 3415 views

Hi - I am new to AEM CMS development.I am working on a POC for automated content migration from one template to the other. Wanted to know if its possible in AEM . My naive approach when I heard about this POC was to create the content as components ( say with the required styling ) and just call the content component from the required components . Please correct me if I am wrong or if there is a better approach . Thank you .

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 antoniom5495929

You can create different view in AEM with usage of selectors.

What you can do is a template with 2 different view, configurable with page properties.

It could be a solution for you? if yes i can provide you some example code.

11 replies

jessielouthan
Level 3
October 12, 2016

Is this assuming that the author implemented the content in Template A to begin with?

 

Why would the author switch templates?

 

(I can't recall having to switch templates without deleting the page and starting all over again)