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

Content migration from one template to the other

  • August 11, 2016
  • 11 replies
  • 3412 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

smacdonald2008
New Participant
August 11, 2016

A template is simply a node in AEM that points to a cq:Component node where you define the markup of the page. When you are saying you automating content from one template to another - can you be more specific. What content are you moving?