Expandir la barra de logros de la comunidad.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.

RESUELTAS

List All Activations on CQ Author for a Particular date

Avatar

Antiguo miembro de la comunidad

Hello Experts,

 

Is there any way to get List of All Activations happened on CQ Author for a Particular date?. I think we can get that using a particular Xpath Query but not sure how to do it.

 

 

Thanks in Advance.

1 solución aceptada

Avatar

Respuesta correcta de
Level 5

"/jcr:root”+<your path>+"//element(*,nt:base)[@cq:lastReplicated = xs:dateTime('"+date+"')]";

Check the date formate (It is what date time widget by default) check jar node.

Yogesh

Ver la solución en mensaje original publicado

4 Respuestas

Avatar

Level 5

Avatar

Antiguo miembro de la comunidad

Thanks for the reply Yogesh,. Is there any other way to to this using Xpath like below one?.

 

Query //element(*, cq:AuditEvent)[@cq:type='Activate']

 

Thanks,

Avatar

Respuesta correcta de
Level 5

"/jcr:root”+<your path>+"//element(*,nt:base)[@cq:lastReplicated = xs:dateTime('"+date+"')]";

Check the date formate (It is what date time widget by default) check jar node.

Yogesh

Avatar

Antiguo miembro de la comunidad

Thanks Yogesh.

 

I Also got a SQL query for getting this data. This worked for me.

select * from nt:base where jcr:path like '/path/%' and cq:lastReplicated>=TIMESTAMP '2014-03-09T16:26:06.185-04:00' and cq:lastReplicated<=TIMESTAMP '2014-03-11T15:34:15.917+02:00'

 

Thanks...