dc:format and dam:MIMEtype | Adobe Higher Education
Skip to main content
anjali_biddanda
Level 4
October 16, 2015
Beantwoord

dc:format and dam:MIMEtype

  • October 16, 2015
  • 2 reacties
  • 2785 Bekeken

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?

Er kunnen geen reacties meer worden geplaatst op dit onderwerp.
Beste antwoord door 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 reacties

Sham_HC
Sham_HCAntwoord
Level 10
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
Level 4
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.