DAM Asset detected as image/jpeg instead of word, pdf, ppt etc..

Problem

If you try to upload the one of the attached Word documents  (or PDF, PPT), it sometime fails and detect it as an image/jpeg, and leave the workflow instance stale.

Some error related to the image thumbnail creation also indicate that it tries to process the file as an image instead of the original content type (doc, ppt, pdf etc..).

Resolution

This issue is due to the wrong dc:format metadata created. There is a workaround by extending the DAM update asset workflow model to fix this.

  1. Install attached content package via CQ Package Manager
       * This provides a workflow ecma-script at /etc/workflows/scripts/dam/resetMimeType.ecma
  2. Open the Workflow admin console
  3. Edit the 'DAM Update Asset' workflow model
  4. Insert a Process step right after the 'Metadata extraction' step
  5. Set any title, e.g. 'Reset mimetype'
  6. In the Process tab of the properties dialog, select above ecma script: /etc/workflows/scripts/dam/resetMimeType.ecma
  7. Check the 'Handler Advance' flag checkbox
  8. Submit the dialog
  9. Save the workflow model

Now, try to upload the word document (or other document type that failed).

下載

Applies to

CQ 5.3

CQ 5.4

 Adobe

更快、更輕鬆地獲得協助

新的使用者?

Adobe MAX 2024

Adobe MAX
創意大會

10 月 14 至 16 日邁阿密海灘和線上

Adobe MAX

創意大會

10 月 14 至 16 日邁阿密海灘和線上

Adobe MAX 2024

Adobe MAX
創意大會

10 月 14 至 16 日邁阿密海灘和線上

Adobe MAX

創意大會

10 月 14 至 16 日邁阿密海灘和線上