Hi,
I am trying to create new report type under Tools>> asset> reports
http://localhost:4502/mnt/overlay/dam/gui/content/reports/createreportwizard.html
I just need to add one more field in existing createreportwizard page. Looks like everything is tightly coupled. I have added a new icon in report list (for my new reports) and also able to add new fields in the createreportwizard page. now I am trying to add size field like below.
/libs/settings/dam/search/catalogs/jcr:content/items/filesize
I need to generate report based on this size too.
have anybody tried such changes before? is it possible to extend the existing functionalities here?
Thanks in advance.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Sujendra ,
You can use your custom approaches for report generation. You can create a servlet for the creation of custom reports containing different information about an asset, which includes folder names, Asset names, last modified, and last modified by fields in the CSV format
In your servlet you can use the Query Builder API and JCR APIs to create the report in the servlet.
You can follow this link for sample code:
https://gist.github.com/abhishekanandttn/e5584f20844acc1717648bfa6a9cc640
-Tarun
.
Hi @Sujendra ,
You can use your custom approaches for report generation. You can create a servlet for the creation of custom reports containing different information about an asset, which includes folder names, Asset names, last modified, and last modified by fields in the CSV format
In your servlet you can use the Query Builder API and JCR APIs to create the report in the servlet.
You can follow this link for sample code:
https://gist.github.com/abhishekanandttn/e5584f20844acc1717648bfa6a9cc640
-Tarun
.
@Sujendra Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes