dc:format and dam:MIMEtype | Community
Skip to main content
anjali_biddanda
New Participant
October 16, 2015
Solved

dc:format and dam:MIMEtype

  • October 16, 2015
  • 2 replies
  • 2781 views

CQ5 uses dc:format to denote the mime-type of the asset. (http://docs.adobe.com/docs/en/cq/current/dam/metadata_for_digitalassetmanagement.html)

I have a custom dc:format for a video : video/vnd.xxxx.brightcove. And i have a custom video dam asseteditor for this created under "/apps/dam/content/asseteditors/video/vnd/tvnz/brightcove/" to override "/libs/dam/content/asseteditors/video". In damadmin's search tab, if i search for videos and from the result of videos returned, when i click to open the video, it opens in the default asseteditor and the left panel shows no 'Type' info. (although dc:format property is available on the asset metadata). Here's the wierdness -> when you now refresh this page, it re-loads in the custom video dam asseteditor. There is a workaround for this - if you ensure that the video asset has a property "dam:MIMEtype", it opens in the correct video dam asseteditor everytime and it shows the 'Type' correctly to be 'video/vnd.xxxx.brightcove' in the left pane. 

This looks like a bug in CQ. As long as dc:format is available, this should be used to deduce the dam:MIMEtype and use the appropriate asseteditor. Has anyone experienced something similar?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

Yes sounds like bug. This should be fixed in aem6. As workaround overlay panel file for the method mimeType to use right meta data.

2 replies

Sham_HC
Sham_HCAccepted solution
New Participant
October 16, 2015

Yes sounds like bug. This should be fixed in aem6. As workaround overlay panel file for the method mimeType to use right meta data.

anjali_biddanda
New Participant
October 16, 2015

Thanks for your reply Sham. As a workaround i've used a workflow to add the dam:MIMEtype property for any video assets added to the dam.