Leiste mit Community-Erfolgen erweitern.

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

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

List All Activations on CQ Author for a Particular date

Avatar

Ehemaliges Community-Mitglied

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 Akzeptierte Lösung

Avatar

Korrekte Antwort von
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

Lösung in ursprünglichem Beitrag anzeigen

4 Antworten

Avatar

Level 5

Avatar

Ehemaliges Community-Mitglied

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

Korrekte Antwort von
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

Ehemaliges Community-Mitglied

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...