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일 마이애미 비치 및 온라인