Generating the missing renditions for AEM Assets
Learn how to solve missing renditions for AEM Assets. Generate renditions by re-running the DAM asset update workflow with the Fix DAM Assets tool, ACS Commons Bulk Workflow Manager, and workflow web services.
Description description
Environment
- Experience Manager
Issues/Symptoms
Assets in our AEM Assets instance are missing renditions. In order to generate the missing renditions, one must re-rum the “DAM Update Asset†workflow on these assets. How to bulk re-run the workflow to fix the missing renditions?
Resolution resolution
WARNING:  If the assets miss renditions due to failed workflows, then re-running the workflows do not resolve the issue. Before running the steps below, go to http://host:port/workflow
 UI and select the Failures  tab to see if the workflows failed. If the workflows failed and you are unable to debug the root cause, then contact ÃÛ¶¹ÊÓÆµ Customer Care.
A. USE THE SUPPORT FIX-DAM-ASSETS TOOL:
- Install the attached package fix-dam-assets-1.1.zip to AEM.
- Log inÂ
/apps/tools/components/fixAssets/run.html
 as an admin user. - Enter the path of the folder where assets are missing renditions.
- °ä±ô¾±³¦°ìÌý³§³Ù²¹°ù³Ù.
This re-runs the DAM Update Asset on the asset you triggered. The code does a full traversal of the folder you entered as the path and finds all assets missing the three default renditions and generates them.
You can update the code to check if other renditions are missing, limit it to certain file types or run a custom workflow model instead. The code can be viewed in CRXDE ³Ü²Ô»å±ð°ùÌý/apps/tools/components/fixAssets/POST.jsp
B. USE ACS COMMONS BULK WORKFLOW MANAGER
Another capable tool isÂ
C. USE THE WORKFLOW WEB SERVICES
Alternatively, see  for how you could use the workflow web services for triggering the DAM Update Asset workflow.
DOWNLOAD
 - fix-dam-assets-1.1.zip