How to generate and download a report of the asset tagged under a specific tag category?

Avatar

Avatar

PiyushA1986

Avatar

PiyushA1986

PiyushA1986

20-06-2019

How to generate and download a report of the asset tagged under a specif tag category?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

3.0K

Likes

1.1K

Correct Reply

859

Avatar

Arun_Patidar

MVP

Total Posts

3.0K

Likes

1.1K

Correct Reply

859
Arun_Patidar
MVP

20-06-2019

you can write a servlet which executes a query with the above condition and put results in CSV or in Other Formats.

The query can look like below for searching Assets which tags either with we-retail:apparel/footwear or we-retail:apparel/shorts

QueryBuilder Query

type=dam:Asset

path=/content/dam

property=jcr:content/metadata/cq:tags

property.1_value=we-retail:apparel/footwear

property.2_value=we-retail:apparel/shorts

p.hits=selective

p.properties=jcr:path

p.limit=-1

The bold part from the query can be removed. That is for json output from QueryBuilder Debugger Tool to only gives assets path.

Or create your own reporting by following below:

Developing Reports

Answers (1)

Answers (1)

Avatar

Avatar

PiyushA1986

Avatar

PiyushA1986

PiyushA1986

24-06-2019

Thanks Arun, will test and get back to you.