Forcing old date for properties such as cq:lastReplicated and cq:lastModified
We have migrated content from a different CMS to AEM, by recreating content in an intermediary environment and finally deploy packages from that environment to the production environment. That being said, all the properties that control dates (creation, modification, activation) are considering the dates where the content was re-created e published.
The problem is that this way we can neither keep the original chronological order of the pages (as in the previous CMS) nor display on the page the original date when the text was published.
What is the recommended solution? Could we create a script to performa a bulk update on those properties using the original dates value? Would we need to do it for both author and publish? Is there any side effect on doing it, any inconsistency?
Thank you.