Currently jcr:created date property in working fine in author mode. But when we published a page multiple time the jcr:created date property is updated in published mode. which is basically a wrong. When we published any assest first time it should consider this is created date and do not to update this date on publish instance multiple times. And should only update jcr:lastModified date in published instance multiple times.
Views
Replies
Total Likes
Hi,
which versione of AEM are you using?
Thanks,
Antonio
Views
Replies
Total Likes
AEM 6.4
Views
Replies
Total Likes
See this older thread: Why jcr:created property is being changed in case of any activation?
Views
Replies
Total Likes
Probably versioning is turned on for that node/page/asset. Check that as well.
Views
Replies
Total Likes
But this is not a valuable solution as you suggested to turned off versioning from node/page/asset. Which will lead an issue when we required any old pages to re-use.
Views
Replies
Total Likes
The way I read your problem statement is that the mentioned behavior exists on publish server. I'm missing the point that why would you want to create the versions on publish server. I'm not able to think of any use case.
To me versioning belongs to author and not publish server.
I would recommend that you first check the existing configurations and validate that versioning is the actual root cause.
Views
Replies
Total Likes
We have a similar need for jcr:created, for analytics purposes. It doesn't seem to matter if we have versioning on or off, the jcr:created date continues to represent the date it was last replicated. Is there any way to get the actual, unchanging, date that the node was created on the author (or pub) instance in the first place? Do we need to create a custom prop on author and persist it?
Views
Replies
Total Likes
You should use a dedicated property for that.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies