0

The items that are newly created by copying or duplicating have the same Statistics (Created Date, Created By, Updated Date, Updated By, Revision) as their originals. The same happens with their children items that were copied or duplicated together with them.

When researched, found a blog that provides an ItemCopiedEventHandler workaround; however it was designed for an older version of Sitecore(8.0). We are currently in 9.3.

Can anyone share your thoughts on this?

1 Answer 1

1

Nothing really changed between version 8.0 and 9.3 when it comes to statistics of Sitecore items.

When you copy items, values like "Created" are not updated.

So if you need them to be updated, you should write your custom code or use the code from the blog post you found.

3
  • Thanks @Marek. Wonder if there is an easy way apart from writing custom code.
    – Yeshwanth
    Jul 19, 2022 at 11:20
  • As far as I know, there is no way without custom code.
    – Marek Musielak
    Jul 19, 2022 at 13:16
  • Thank you @Marek. Grateful for your replies.
    – Yeshwanth
    Jul 20, 2022 at 4:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.