Hi All,
We have a requirement to store the asset reports which are available OOTB in the custom dam location. I know we have the option to schedule it manually from the report console but I want my schedular to call the asset report generation and store in the dam location.
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
Hi @SateeshRe
You can make a POST call to http://localhost:4502/libs/dam/gui/content/reports/generatereport.export.json to generate the reports programmatically.
In the response, it sends the sling job ID which you can use to find the complete path where the report is generated under /var/dam/reports. You can then copy the generated CSV from the default path to the custom path under DAM. I have not looked at the implementation to see if the default report path would be configurable.
I hope this helps to decide on approach.
Thanks
Narendra
Hi @SateeshRe
You can make a POST call to http://localhost:4502/libs/dam/gui/content/reports/generatereport.export.json to generate the reports programmatically.
In the response, it sends the sling job ID which you can use to find the complete path where the report is generated under /var/dam/reports. You can then copy the generated CSV from the default path to the custom path under DAM. I have not looked at the implementation to see if the default report path would be configurable.
I hope this helps to decide on approach.
Thanks
Narendra
Thanks for the info. @narendragandhi
I tested using postman and it is working.