How to extract List of authors in AEM using XTYPE query | Adobe Higher Education
Skip to main content
ranadyutis95334
Level 3
December 22, 2015
Beantwortet

How to extract List of authors in AEM using XTYPE query

  • December 22, 2015
  • 3 Antworten
  • 1237 Ansichten

We need the list of users who are author. we are trying below query :

/jcr:root/home/users/*//element(*,rep:User).

but this is giving error. Please help.

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von leeasling

Try this:

/jcr:root/home/users//element(*, rep:User)

Also, the query debug tool is a great way of playing with queries: http://localhost:4502/libs/cq/search/content/querydebug.html

3 Antworten

leeaslingAntwort
Level 8
December 22, 2015

Try this:

/jcr:root/home/users//element(*, rep:User)

Also, the query debug tool is a great way of playing with queries: http://localhost:4502/libs/cq/search/content/querydebug.html

ranadyutis95334
Level 3
December 22, 2015

Thanks a lot. Is there a way to extract this data in csv or text file

Level 8
December 22, 2015

Not out of the box.  You'd need to write some code to do that for you.