Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Published time for Assets and Sites on Publish instance

Avatar

Avatar
Validate 1
Level 2
Nitish_Jain01
Level 2

Likes

2 likes

Total Posts

43 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
Level 2
Nitish_Jain01
Level 2

Likes

2 likes

Total Posts

43 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Nitish_Jain01
Level 2

23-03-2017

Hi All,

We have a requirement where we have to provide flexibility to sort the content based on Published time.

The Publish date can be retrieved using: “jcr:content: cq:lastReplicated” property. But the problem is this property is set only on Author instance and not on Publish instance.

I analyzed and found that when the content is replicated for the first time for Author to Publish, the replication date is set in author for “jcr:content: cq:lastReplicated” property and “jcr:created” property is created for same content in Publish instance and has same time stamp. With subsequent replication, the “jcr:created” property remains same and contains timestamp of very first instance it was created in publish instance. We need property which updated constantly in PUBLISH instance associated with content which can suggest when the content is last published.

Thanks.

Nitish

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 10
Level 4
sandeepm744005
Level 4

Likes

19 likes

Total Posts

127 posts

Correct Reply

13 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 4
sandeepm744005
Level 4

Likes

19 likes

Total Posts

127 posts

Correct Reply

13 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
sandeepm744005
Level 4

24-03-2017

Hi Nitish, this property actually exists in the AEM6.2 DAM Assets also, you need to check inside jcr:content for the Assets, but i still doubt to use this property in case if we want to get the latest publish date of any asset. I do not see any other property which we can use.

Some one from Adobe, @kautuksahni or @smacdonald2008 needs to tell us if there is any other property exists ?

Thanks ~

Sandeep

Answers (5)

Answers (5)

Avatar

Avatar
Validate 10
Level 4
sandeepm744005
Level 4

Likes

19 likes

Total Posts

127 posts

Correct Reply

13 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 4
sandeepm744005
Level 4

Likes

19 likes

Total Posts

127 posts

Correct Reply

13 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
sandeepm744005
Level 4

24-03-2017

This property is available in AEM6.1, need to check in AEM6.2, will revert you back

Avatar

Avatar
Validate 1
Level 2
Nitish_Jain01
Level 2

Likes

2 likes

Total Posts

43 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
Level 2
Nitish_Jain01
Level 2

Likes

2 likes

Total Posts

43 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Nitish_Jain01
Level 2

23-03-2017

Hi Sandeep,

I am unable to see this property in AEM 6.2 in CRXDE.

Thanks.

Nitish

Avatar

Avatar
Validate 10
Level 4
sandeepm744005
Level 4

Likes

19 likes

Total Posts

127 posts

Correct Reply

13 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 4
sandeepm744005
Level 4

Likes

19 likes

Total Posts

127 posts

Correct Reply

13 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
sandeepm744005
Level 4

23-03-2017

i see only a property where latest publish datetime is storing for Dam Assets which is "dam:lastInvalidateCache", not sure if this is the right one to use for dam assets.

Thanks ~

Sandeep

Avatar

Avatar
Validate 1
Level 2
Nitish_Jain01
Level 2

Likes

2 likes

Total Posts

43 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
Level 2
Nitish_Jain01
Level 2

Likes

2 likes

Total Posts

43 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Nitish_Jain01
Level 2

23-03-2017

Hi Sandeep,

Thanks for suggestion but it is associated only with Sites/Pages and not with Assets. Can you suggest.

Thanks.

Nitish

Avatar

Avatar
Validate 10
Level 4
sandeepm744005
Level 4

Likes

19 likes

Total Posts

127 posts

Correct Reply

13 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 4
sandeepm744005
Level 4

Likes

19 likes

Total Posts

127 posts

Correct Reply

13 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
sandeepm744005
Level 4

23-03-2017

Nitin, you need to check the jcr:created property which is inside jcr:content of the page in publish. This property update every time when page get activated from author. I guess, you are checking jcr:created property directly inside the page node which remains same when the page first time replicated on the publish. Hope it helps.

Thanks ~

Sandeep