We have a requirement where the client wants to create new templates and replace the existing templates that are currently mapped to existing pages. We have tried using AEM Launches, which works well for single pages, but not for bulk updates. We are now exploring using a Groovy script. Are there any other methods we can consider?
Solved! Go to Solution.
Views
Replies
Total Likes
I have used the ACS Tool in production before, but it was a one-time use. We installed the ACS Tool package, utilized it, and then uninstalled it afterwards.
Before performing any actions to manipulate content, it is essential to execute a backup. This is especially true in a production environment and applies regardless of the tool being used, as issues can always arise. Therefore, having a recovery plan is a necessity.
If you have groovy installed then you can use groovy, In my opinion groovy would be the easiest and quickest option.
okay @arunpatidar
If you have tried the same do you have any suggestions , like what needs to be keep in mind when we migrate the templates.
I hope you are using dynamic template, and want to migrate from dynamic template A to dynamic template B.
In this case you need to make sure the cq:template and sling:resourcetype properties are updated with B on the pages.
If you are migrating from static template to dynamic template then you need to follow https://opensource.adobe.com/aem-modernize-tools/pages/structure/about.html
Views
Replies
Total Likes
we are migrating dynamic template A to dynamic template B.
Views
Replies
Total Likes
An easy option can be using Resource Type/Template Updater from ACS AEM Tools: it supports updating sling:resourceType and cq:template properties.
We were considering this as one of our option however in some recommendations we found that we should not use these ACS tools for production environments and they are only for dev related tasks.
Any thoughts on this ? or did you use this and it worked for you ?
Views
Replies
Total Likes
I have used the ACS Tool in production before, but it was a one-time use. We installed the ACS Tool package, utilized it, and then uninstalled it afterwards.
Before performing any actions to manipulate content, it is essential to execute a backup. This is especially true in a production environment and applies regardless of the tool being used, as issues can always arise. Therefore, having a recovery plan is a necessity.
@Randeep_virk Did you find the suggestions helpful? If you need more information, please let us know. If a response resolved your issue, kindly mark it as correct to help others in the future. Alternatively, if you discovered a solution on your own, we'd appreciate it if you could share it with the community. Thank you.
Views
Replies
Total Likes