Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Modifying the default columns in AEM Asset Reports

Avatar

Level 1

I have requirement where I have to change/add the list of columns in the Default Columns list for the reports. Those custom columns should be displayed by default once I create a AEM report, so that the user should not have to add the columns manually using custom columns. I don't have to create a custom report type, rather I need to change that in  the existing report types.

Can anyone share some idea or provide some approach how this can be achieved?

3 Replies

Avatar

Employee Advisor

You can overlay "/libs/dam/gui/content/reports/reportlist/jcr:content/views/list/columns" and change the colums as per your requirement. Please do not update anything under the libs directory.

Avatar

Level 1

Thanks JaideepBrar​, for quick response.

As per my understanding, the available reports are using column list as per the below screenshot.

1816997_pastedImage_2.png

Now, consider the below scenario:

We have created some custom indexes under oak:index location, which we have added in our custom metadata schema for the asset

eg., /oak:index/damAssetLucene/indexRules/dam:Asset/properties/dcBrand having property

jcr:content/metadata/brand

Now, lets say I have to generate Download report for assets using the Download report provided. Once I go to configure columns step, I should be able to get Brand Column available as default which maps to property jcr:content/metadata/brand.

Kindly suggest any workaround.

Avatar

Level 3

@abhishekdas  Are you able to figure out this one ? I have the same requirement.