Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
Nivel 1
Nivel 2
Iniciar sesión en la comunidad
Iniciar sesión para ver todas las insignias
Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
We are using a AEM 6.2 and we do not see cq:lastReplicated date present for pages(cq:pages) that have been published from author.
We have a requirement to find out the recently published pages.
Thanks,
Nidhi
Vistas
Respuestas
Total de me gusta
What do the replication logs say? Have you tried using an admin account to see if it works?
In replication logs do you see a - INFO - publish : << HTTP/1.1 200 OK if not check the ACL or the replication agent. Do you see cq:lastReplicationAction ?
Vistas
Respuestas
Total de me gusta
Hi Nidhi,
Publisher will always have cq:lastReplicated of last but one update. Usually production will have more than one publishers & using cq:lastReplicated will not get right stat. For your requirement using cq:lastReplicated is not the right way, Either introduce new property ( set the value ) Or use tunneling to author to get the data.
Regards,
Sham
Vistas
Respuestas
Total de me gusta
Hi Sham,
Thanks for the response.
I have only single publish instance and cq:lastReplicated and cq:lastReplicatedBy properties are not available for cq:pages.under jcr:content node.
Please let me know where i can see these properties in publish instance.
Regards,
Nidhi
Vistas
Respuestas
Total de me gusta
Hi,
cq:lastReplicated and cq:lastReplicatedBy are added to a page after the replication happened. But on the publish the lastModification property might give pretty much the same information.
Jörg
Vistas
Respuestas
Total de me gusta
Every time we publish a page, jcr:created Property updated with activation time in publish instance. So I think, we can relay on jcr:created property to figure out all recently published pages
Vistas
Respuestas
Total de me gusta
Hi,
We may be able to catch the replication action in the preprocess() when implementing
and write some node property like customReplicationDate for us to read later.
The other way would be to disable below config on author instance,
AEM 6 onwards cq:lastReplicationAction, cq:lastreplicated and cq:lastReplicatedBy properties are not carried over to publish by design.
In order to carry over these properties disable the below component in author instance:com.day.cq.replication.impl.ReplicationPropertiesFilterFactory
Vistas
Respuestas
Total de me gusta
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas