Hi team,
Author Response :
{
"_metadata": {
"calendarMetadata": [
{
"name": "jcr:created",
"value": "2024-07-26T07:53:39.985Z"
},
{
"name": "cq:lastPublished",
"value": "2024-07-29T07:04:13.381Z"
},
{
"name": "cq:lastModified",
"value": "2024-07-29T07:00:33.900Z"
}
]
}
}
Publish Response :
{
"_metadata": {
"calendarMetadata": [
{
"name": "jcr:created",
"value": "2024-07-26T08:39:54.856Z"
},
{
"name": "cq:lastModified",
"value": "2024-07-29T07:00:33.900Z"
}
]
}
}
Solved! Go to Solution.
Views
Replies
Total Likes
Publishing metadata is not pushed to publish instances.
For any new pages, the jcr:created on publish should be equal to publish date. I am hoping the same when pages are published again.
Incase, neither jcr:created nor modified (on Publish) are in sync, the we might need to create a custom property that is updated just before publish.
Publishing metadata is not pushed to publish instances.
For any new pages, the jcr:created on publish should be equal to publish date. I am hoping the same when pages are published again.
Incase, neither jcr:created nor modified (on Publish) are in sync, the we might need to create a custom property that is updated just before publish.
Hi @aanchal-sikka,
When we publish for the first time, the jcr:created on publish is set to the publish date.
However, when we re-publish the asset, we do not capture the actual publish date and time (if we do not publish immediately after modifying).
The jcr:lastModified value is taken from the author and replicated on publish.
For example(this is my usecase), if we modify an already published asset at 1pm and then re-publish it at 2pm, the jcr:modified value in the publish is updated with 1pm (the time when it was modified on the author). Unfortunately, we are not able to retrieve the 2pm publish time in the graphql response.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies